How to give a hint on a table within a view

How do I give a FULL hint to a table within a view?
The table that I want to give a hint on resides in a different schema that I am working in. So, when I give the following hint, Oracle just sits on it and does nothing (I am afraid I can't do the same, so please help).
/*+ FULL (VW.SCHEMA_NAME.TABLE) */

Hi,
In the hints documentation you have to pre cursor the table with the name of the view such as for example.
/*+ full(view_name.table_name) */
this is called a global table hint. Here is the link for your reading, it has an excellent example
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/hintsref.htm#i27644
and this one lists all the hints available to use.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/hintsref.htm
enjoy.
al

Similar Messages

  • How to give comments for a particular table

    hi..
    how to give comments for a particular table ..
    select * from user_tab_comments;
    tx in advance..

    Try this.
    SQL> COMMENT ON TABLE EMP IS 'THIS IS SAMPLE EMPLOYEE TABLE' ;
    Comment created.
    SQL> select * from user_tab_comments where table_name = 'EMP'
      2  /
    TABLE_NAME                     TABLE_TYPE
    COMMENTS
    EMP                            TABLE
    THIS IS SAMPLE EMPLOYEE TABLE

  • Hi gurur's how we  give the validations to the table

    hi gurur's how we  give the validations to the table. plz help me

    Hi Sri...
    Please clarify your requirement.
    If you want to put some validation in a Z table,you can put your code in Table Maintenance Genereators Events.
    Go to SE11 --> Utilities --> Table Maintenance Generator --> Environment -->Modification --> Event
    Choose the Event and Put your code in corresponding routine.
    Hope this help.
    Reagrds,
    Piyush Mathur
    Rewards Points, if helps

  • How to move selected values in a table in one view to another

    Dear Experts,
    In my application,I have a table populated with data.My requirement is to select a row in the table and move the selected values of the row to the next view.
    Can anybody tell how to do this??
    Regards,
    Mamai.

    Hi mamai,
    First create a two internal tables ( nodes) itab1 & itab 2 with your required structure in component controller.
    Then bind the itab1 with view1 controller context.
    bind the itab2 with view2 controller context. and create a tables in both views and bind with itab1 and itab2 respectively.
    after getting the itab1 data, use the below code in wddoinit method of view2.
    data: count type i,
            pos type i value 1.
    Count = lo_nd_itab1->get_element_count( ).
    do count times.
    to copy the selected records
    if lo_nd_itab1->is_selected( index = pos ) = abap_true.
    lo_el_itab1 = lo_nd_itab1->get_element( index = pos ).
    lo_el_itab1->get_Static_attributes( importing static_attributes = ls_itab1 ).
    lo_el_itab2 = lo_nd_itab2->creat_element( ).
    lo_el_itab2->set_static_attributes( exporting static_attributes = ls_itab1 )
    lo_nd_itab2->bind_element( new-item = lo_el_itab2 set_initial_elements = abap_false ).
    endif.
    pos = pos + 1.
    enddo.
    Regards
    Srinivas

  • How to update multiple records in a table created in view (web dynpro)

    Here is my coding......
    *coding to get the district value
    DATA lo_nd_district TYPE REF TO if_wd_context_node.
        DATA lo_el_district TYPE REF TO if_wd_context_element.
        DATA ls_district TYPE wd_this->element_district.
        DATA lv_district_txt LIKE ls_district-district_txt.
      navigate from <CONTEXT> to <DISTRICT> via lead selection
        lo_nd_district = wd_context->get_child_node( name = wd_this->wdctx_district ).
      get element via lead selection
        lo_el_district = lo_nd_district->get_element(  ).
      get single attribute
        lo_el_district->get_attribute(
          EXPORTING
            name =  `DISTRICT_TXT`
          IMPORTING
            value = lv_district_txt ).
    *coding to diplay records when clicking a button(Submit)
    DATA lo_nd_table TYPE REF TO if_wd_context_node.
    DATA lo_el_table TYPE REF TO if_wd_context_element.
    DATA ls_table TYPE wd_this->element_table.
      DATA lv_district LIKE ls_table-district.
    navigate from <CONTEXT> to <TABLE> via lead selection
      lo_nd_table = wd_context->get_child_node( name = wd_this->wdctx_table ).
    get element via lead selection
      lo_el_table = lo_nd_table->get_element(  ).
    get single attribute
      lo_el_table->set_attribute(
        EXPORTING
          name =  `DISTRICT`
       " IMPORTING
          value = lv_district_txt ).
    The above coding updates only one record to that
    table created in view.
    If i enter 2nd district value means then the first record
    in the table is overwritten.
    So my need is the record should not be overwritten.
    it(2nd record ) should be displayed after the 1st record.
    Any one can help me and send the coding plz....

    instead of using set attribute you should use bind table method to display/update the records in table view.
    step1 ) collect all the data in a local table
    step2 ) and the bind that lacal table with your node
    search1 = wd_context->get_child_node( name = `TABLE1` ).
    search1->bind_table( lt_detail)
    here lt_detail is your local table and TABLE1 is node which is bound with table ui element.

  • ABAP webdynpro how to give spacing between the UI Elements in a view

    Hi Expert,
    I am very new to webdynproapplication development. I am stuck in changing the look of the ui  elements of the view.
    Cud anyone explain  how  to set the spaces  between the  UI Elements on  a View is there any method ?
    I have set the Layout property  to Matrix layout. But here I am unable to set the spacing between the deffernet elements  as it is taking it automaticaaly  and I am not able to allign  all the  Elements.
    Need your help!.............thank you
    Moderator message: wrong forum, please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Apr 15, 2011 10:17 PM

    Hi anushree.,
    If u are using matrix layout:
    In Layout Data select MatrixHeadData to display UI in next line.,
    If u want to give space  between UI elements in the width enter 50, 60, 70 or what ever space u want.
    Also in the vGutter u can select medium ,  large ,  medium with rule  to give space between UI elements.
    n if u want to give space between lines  ., in the height enter 30 40 or whatever spacing between lines u want.,
    Matrix layout is a good layout., and u can play with colspan , hAlign, vAlign, vGutter, width and height options.,
    If u dont like the layout with these options then use Grid layout., where u can give custom spacing., with the help of Left Padding, Right Padding, Top Padding, Bottom Padding.
    reply if u need some more clarifications.,
    Thanks & Regards
    Kiran

  • How to copy the value of two tables into a view.

    Hi Experts ,
    I have a requirement in which i have been provided with two tables(T1,T2) of same table structure ,i need to copy their entries into a table view with the same structure as the two tables(T1,T2) .
    suppose T1 has entries name age T2 has entries
    A 20 D 40
    B 30 E 46
    C 40
    the view should have all the entries,duplicate values no issues ...
    Could you please suggest how can i do that ?
    Thanks and Regards
    Debashis

    if table have same structure then you can use
    select * from t1
    union all
    select * from t2

  • How do I call a state change from within a view

    Hey guys,
    I think I might understand how to do this, but I wanted to run it by the forums to see if I understand it correctly..
    So I have a base view (base.mxml) which contains 3 separate 'state' view components - like thus...
    <s:states>
            <s:State name="MinimisedState" />
            <s:State name="MaximisedState" />
            <s:State name="LoginState" />
        </s:states>
    <view:MinimisedView includeIn="MinimisedState" width="100%" height="100%" />
    <view:MaximisedView includeIn="MaximisedState" width="100%" height="100%" />
    <view:LoginPane includeIn="LoginState" width="100%" height="100%" />
    Apologies if this sounds like a gumby question, but how do I get the LoginPane state/view (to dispatch an event) to tell the base view (container) to change states? Say to MinimisedState or MaxmisedState.
    I'm sure this is something really simple, and I don't have a problem doing this when all the states are registered/contained within the same base MXML file - but when it comes to passing events up to the parent (from seperate external mxml views/components) i'm a little confused.
    Any help appreciated

    If I understood your question correctly, there is a tutorial on that in 'Flex in a Week' :
    http://www.adobe.com/devnet/flex/videotraining/flex4beta/index.html
    It covers dispatching events from custom component to main application.
    HTH
    FTQuest

  • How do I transpose and group a table in a ViewObject?

    Hi,
    I want to transpose and group a table within a view object and don't know how to do it.
    Please let me explain what I want to do:
    One table, e.g. Employees, has one row per employee. Each employee has a departmenent and a room assigned:
    Employee
    Department
    Room
    John
    Finance
    101
    Susie
    Prod
    102
    Hank
    Finance
    103
    Now I want to show one row per departmenent and a marked checkbox for each room that has an employee from this department in it:
    Department
    Room 101
    Room 102
    Room 103
    Finance
    X
    X
    Prod
    X
    What I already did is, I added a transient attribute of type boolean for each room to the ViewObject for employees. I was able to set the booleans within the method ViewObject::createRowFromResultSet. But I still need to do a grouping by department.
    What I don't understand is: is it possible to 1. selecting data, 2. grouping the result and 3. setting booleans for the rooms, anything in the same view object? Or do I need to have two ViewObjects, one that holds the data and another one that prepares and to displays the data?
    Btw. the users will change the checkboxes and the changes must be written back to the database (makes no sense for this example, I know...).
    Could anything be done in the same ViewObject? If so, which methods do I have to overwrite to do the grouping?
    Could someone please give me a hint or let me know where I can find an example of a similar scenario?
    Thanks in advance!

    Sort the playlist into the desired order, e.g. click the heading for the track no. or album columns, the right-click on the playlist name and click Copy to Play Order. The playlist should now burn in the correct order.
    tt2

  • Need to find total no fo  tables/index/m.views in my database

    Hello Everyone ;
    How can i find total no fo  tables/index/m.views in my database ?
    when i  google  i have seen  following  command ;
    SQL> Select count(1) from user_tables where table_name not like '%$%' /
      COUNT(1)
             but i dont understand  what  '%$%'  indicates ?
    Thanks all ;

    Hello Everyone ;
    How can i find total no fo  tables/index/m.views in my database ?
    when i  google  i have seen  following  command ;
    SQL> Select count(1) from user_tables where table_name not like '%$%' /
      COUNT(1)
             but i dont understand  what  '%$%'  indicates ?
    Thanks all ;
    consider to simply Read The Fine Manual YOURSELF!
    Oracle Database Search Results: like

  • How do I sort photos WITHIN folder view?

    Okay, I'll admit, to me, Adobe has always been defined as "too many features and too confusing to me," but I'll give it a shot.
    I looked through help, etc. and I have a seemingly simple question - how do I sort photos, new to old, WITHIN folder view of the browser? I don't WANT to show ALL my photos, just folder by folder, oldest to new, NOT by filename!
    This is a simple right-click context menu in Paint Shop Pro, has been for many versions. Why can't I find how/where to do this in Photoshop Elements? It's the kind of thing that makes simpletons like me keep running away from complex Adobe products.
    Help me, SOMEONE, through this seemingly simple task and... I'll be most appreciative.

    >how do I sort photos, new to old, WITHIN folder view of the browser? I don't WANT to show ALL my photos, just folder by folder, oldest to new, NOT by filename!
    Well since folders are not the primary method of using the Photo Browser in Elements, I don't think that folder view has everything that you want.
    If you want to look at a single folder in this sequence you could use the Instant Tag function to apply the tag to all photos in that folder, then use a Tag search by clicking on the box to the left of the tag that is the folder name and then choose oldest first while displaying just the photo files from that folder. This may sound long, but it takes lees time to do than it takes to type a description.

  • Can any one give me hint how to create(dsplay) calendar in jsp 1.2

    can any one give me hint how to create(dsplay) calendar in jsp 1.2
    friends
    i wants to display calendar (not the date) in tabular way please give me hint how to create it

    Hi,
    i would just add my question cos it looks similar , how can i add calendar of the whole year and let the user browse and select it
    thanX in advance

  • Give some hints that in a table control , first row will be editable and

    pls,
    give some hints that in a table control , first row will be editable and
    rest of the rows will be non-editable.

    Hi,
    Take the group1 for all the textboxes in table control as 'ABC'.
    Use this code, its working:-
    it_zekpo is my internal table w/o header line,
    wa_zekpo is work area.
    Name of input/output fields on screen are:-
    wa_zekpo-field1,
    wa_zekpo-field2, and so on...
    At screen flow-logic
    PROCESS BEFORE OUTPUT.
    *  MODULE status_8003.
      LOOP WITH CONTROL po_tb.
        MODULE read_data.
      ENDLOOP.
    PROCESS AFTER INPUT.
    *  MODULE user_command_8003.
      LOOP WITH CONTROL po_tb.
        MODULE modify_data.
      ENDLOOP.
    In PBO
    *&      Module  READ_DATA  OUTPUT
    MODULE read_data OUTPUT.
      READ TABLE it_zekpo INTO wa_zekpo INDEX po_tb-current_line. "po_tab is table control name
      "enable only first row and disable rest rows in table control.
      IF sy-subrc EQ 0.
        IF sy-tabix GE 2.
          IF screen-group1 = 'ABC'.
            LOOP AT SCREEN.
              SCREEN-INPUT = 0.
              SCREEN-ACTIVE = 0.
            ENDLOOP.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      "disable empty rows
      ELSE.
        IF screen-group1 = 'ABC'.
          LOOP AT SCREEN.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 0.
          ENDLOOP.
          MODIFY SCREEN.
        ENDIF.
      ENDIF.
      data : line_count type i.
      describe it_zekpo
      lines line_count.
      po_tb-lines = line_count + 10.
      "to increase the number of lines in table control dynamically
    ENDMODULE.                 " READ_DATA  OUTPUT
    In PAI
    *&      Module  MODIFY_DATA  INPUT
    MODULE MODIFY_DATA INPUT.
      MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tb-currentline.
    ENDMODULE.                 " MODIFY_DATA  INPUT
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • How to give relationship between two tables with comon column with between oprator

    Hi Folks,
    I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables. 
    I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
    Inventory Details Table having a column Card No and inventory Header Table having columns  From card No and To Card No.
    I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
    Your help would be greatly appreciated .
    Regards
    hasthi.
    email:[email protected]

    Hi Raju,
     We have two way that we can relate to the table either join or quality condition use following syntax/Query  for relating two tables 
    select * from Inventory_Details ID inner join  Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
    or 
    Select * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
    Hope this will help you 
    Niraj Sevalkar

  • How to give no of lines per page in alv report

    hi
    could anybody tell me
    how to give no of lines per page in alv report
    i need bottom of page too
    if possible plz send the code too
    it ll be very helpful to me
    thanx
    kals.

    Hi,
    This is possible, using some of the events in the ALV.
    You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
      APPEND gw_event TO gt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                it_events                = gt_events[]
    and define the form for each event as follows - this would be a dynamic call by the ALV.
    *&      Form  after_line_output
    *       Form for the After Line Output Event in the internal table
    *      --> rs_lineinfo
    FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
      IF sy-linno eq v_linno.          "Defaulted value for line count
        perform write_footer.
        NEW-PAGE.
      ENDIF.
    ENDFORM.                    " after_line_output
    For lines per page:
    rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
    There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
    Regards,
    Anil.

Maybe you are looking for

  • What do you NOT like about Oracle Portal?

    Using a theme from a post on AskTom, I thought I would start one that details what customers don't like about Portal. I've got a few: PPE When load balancing, it forces us to use NAT in the load balancer. Extra configuration, extra time, etc. Java or

  • How to find orientation of  image displayed in a report region

    Hello, I have Apex 3.1 application showing an image in a report. The images are held as files on the web server and filename and description held in a database table I can use SQL to retrieve the data into report columns and then HTML expression to d

  • Very urgent..Formula count

    Hi All I have a Query got 4 RKFs(local) 2 Formula(ckfs),  the out put is like this, rkf1 rkf2  fkf1  fkf2 0    30      1     0 0     0       0     0 20   0      0     1 Result    1      1 i have created these 2 fks based on 2 rkfs when i try to count

  • ITunes Crash Vista 64bits

    Hi, I am using the last iTunes version with Vista x64 without a problem since a month. But since this morning i cannot log into the music store anymore as soon as the login box asking for my password iTunes crash and i can't do anything to get it wor

  • Acrobat 7 only creates empty pages.

    I have XP, Acrobat 7, and an extreme amount of frustration. I have been attempting for several weeks to create a PDF file, and every single attempt has ended up with nothing but blank pages. I have no idea what to do, nor can I think of a way to expl