How to set view

Hi all
I have two tables
xxxx and yyyy
both having same columns name with same data types
but values are different
I have search page
want to search based on that two tables values
I want all values from two tables
for that purpose I have created a view and used Union for that
I am not sure Union is correct way to do that
but I have used
create view xxGlobalLogicView as (select Name,Vacancy_Id from xxxx) union (select Name,Vacancy_Id from yyyy) ;

HA wrote:
Hi all
I have two tables
xxxx and yyyy
both having same columns name with same data types
but values are different
I have search page
want to search based on that two tables values
I want all values from two tables
for that purpose I have created a view and used Union for that
I am not sure Union is correct way to do that
but I have used
create view xxGlobalLogicView as (select Name,Vacancy_Id from xxxx) union (select Name,Vacancy_Id from yyyy) ;
That's ok, But Union just take the duplicate values once, and if you are sure that it always be differnt values,you can use union all rather than union for performance.
regards
Umesh

Similar Messages

  • How to set View for Completed items inside Tasks?

    How to set button for 'View' and see Completed items or not completed inside Tasks?

    Hi,
    You want to set custom views for Tasks folder so that when we click a view button, it will show all Completed or incomplete tasks, am I correct?
    Which version of Outlook are you using? There are existing views for completed/incomplete tasks in Outlook. In Outlook 2010 and Outlook 2013, we can find the buttons under View tab > Change View. Click Completed button to view all completed
    tasks; Click Active button to view incomplete tasks.
    In Outlook 2007, just click View > Current View to switch between different views.
    If I've misunderstood something, please feel free to let me know.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to set view options for whole subdirectory tree

    In the "shw view options" menu of the Finder, i can set the "show icon preview" and the "icon size" for a single window.
    I wold like to apply these options to all directories in a given directory sub-tree (but not to all directories).
    Doing this manually would be really tedious, since there are a lot of directories in my subdirectory.
    Does anyone have an idea, how to do that more automatically?
    Best regards,
    Gabriel.

    Hello Justin
    I copied the sample report <b>SALV_DEMO_TREE_FUNCTIONS</b> (available on IDES ECC 5.0) and added the following coding to routine <i>set_columns_technical</i>:
    [code]&----
    *&      Form  set_columns_technical
          text
    FORM set_columns_technical.
      DATA: lr_columns TYPE REF TO cl_salv_columns,
            lr_column  TYPE REF TO cl_salv_column.
      lr_columns = gr_tree->get_columns( ).
      lr_columns->set_optimize( abap_true ).
      lr_columns->set_column_position( columnname = 'PRICE'
                                       position   = 1 ).
    change a column's alignment
      TRY.
          lr_column ?= lr_columns->get_column( 'CURRENCY' ).
          lr_column->set_alignment( if_salv_c_alignment=>right ).
    "$Comment: added coding
          DATA:
            ld_short    TYPE scrtext_s,
            ld_medium   TYPE scrtext_m,
            ld_long     TYPE scrtext_l.
          ld_short = 'Short'.
          lr_column->set_short_text( ld_short ).
          ld_medium = 'Medium Col Text'.
          lr_column->set_medium_text( ld_medium ).
          ld_long = 'Long Column Text'.
          lr_column->set_long_text( ld_long ).
    "$Comment: added coding
        CATCH cx_salv_not_found.                            "#EC NO_HANDLER
      ENDTRY.
    ...[/code]
    At least the new short text is displayed on the ALV tree. I assume that you have to be very careful and scrupulous in choosing the correct data types for the method calls.
    Regards
      Uwe

  • Data integration navigate - how to set view type to chart??

    Hi,
    I have an answers report embedded in a dashboard.
    I have a value which I have set interfaction / navigate to an answers report which is NOT on a DASHBOARD.
    Is there anyway to get the viewtype to default to CHART (or any other non table / non compound view) without embedding the report in question in a dashboard page - which I have done previously as a workaround (hiding the page).
    I do not wish to use GO_URL.
    I am on version 10.1.3.4
    thanks,
    Robert.

    Sorry - not sure I understand your question?!
    If you mean how many times do I want to use this, then once I have cracked the syntax it would be an option that I would use regularly, my preference not to use GO_URL is the problem it causes with priinting - the URL content is visible in pdf's even when wrapped up in html - and with the length of the field with go_url syntax that is ugly....
    And yes, I know there is a workaround for the printing, but every workaround undermines the effectiveness of the tool...
    regards,
    Robert.

  • How to set viewer aspect ratio to 1920 x 1080

    I opened a new project, imported a 1920 x 1080 .Mov file and placed it on the time line. However, the viewer window, set to "Fit" is in a 4 x 5 std format and I cant see how to change to a 16 x 9 format.
    Thanks for your help

    I closed the project, opened and then set the aspect ratio in the settings dialog. I thought that this could be set after opening the project.
    However, this time, after dropping the .Mov onto the time line, I have sound, but the audio sound track is empty. I need to see the audio waveform. The viewer is now in the correct format, 1920 x 1080.
    In the project that I had the viewer in a 4 x 5 format, the audio tracks showed sound
    Thanks

  • How to set view preferences to default on pc??

    ...view preferences not 'set'....they revert to some other view each session.  also getting the licence agreement on startup of EVERY session.  Any ideas?

    Hi bbresciaxtelus,
    If iTunes on your Windows machine isn't retaining preferences or keeps prompting you to agree to the EULA, you may find the troubleshooting in the following article helpful:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Regards,
    - Brenden

  • Acrobat XI - how to set view bookmarks on as default

    In previous versions, bookmarks could be defaulted to on via the File-Properties-Initial Display window, That window does not exist in Acrobat XI and I don't see a way to set the default now.
    Anyone know the magic answer?
    Chuck

    Rave -
    Not for me, as I was trying to point out in the original post. Here's a screenshot ot what I see.
    Chuck

  • Dynamicaly setting view set as default

    Hi experts ,
    i need  help on how to set views default dynamicaly ,
    In my case i have 3 views , but based on the user the default view will change  EG : for manager first view is defalt view ,
    for employee 2 view should be default .
    how to handel views dynamicaly .?
    regards
    chinnaiya P

    Hi Chinnaiya,
    You could use the FPM and it's ability to have "variants". Which variant is displayed is controlled by the FPM controller class. So you could put your logic there to decide the variant. You could then configure the variants to use the different screens.
    This would have the nice added benefit of having a similar look and feel to all the other new WD ABAP ESS/MSS apps.
    Alternatively you could just have your default view having a view container in it - then dynamically swapping the window that should be embedded in it at runtime.
    ButI like the FPM solution better!
    Cheers,
    Chris

  • How to set key fields in a Database view

    Hi guru's
    iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
    thanks in advance,
    Balaji.S

    take a look at this:
    Diagnosis
        In the view, not all of the mandatory fields were included as key
        fields. The key of the view therefore is not unique.
    System Response
        All the fields are regarded as key fields in order to guarantee that th
        key lengths are unique.
    Procedure
        For views with a large number of fields, this could have a negative
        effect on the performance for the language construction described below
        In this case, all the mandatory key fields should be included in the
        view.
    regards

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • List view - how to set spacing

    I am running Mavericks on a MBP and want to set List view so the Name column doesn't stretch out all the way across the window - I want it to default to something only 1.5-2 inches on screen, so I can easily see and order things by the other columns [such as size, date etc.] - I can't figure out how to set up List View to have a default spacing setting = if I add Comments column [which generally is blank anyway] that'll do it but I don't want that, I just want to set up the Name column in list view to be more limited and not stretch all the way across on first opening.

    It's dynamic and requires showing more than just the name column. That's Apple's new paradigm.

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set my favorite tv chanels and view schedule on internet?

    How to set my favorite tv chanels and view schedule on internet?

    That's a good question - I've been trying since fios came out with fios tv central to view the tv guide online. It keeps saying "invalid user name/password". I've changed them numerous times, contacted online help, talked to phone help (who's also baffled), all to no avail. I actually saw the guide once when I first visited the site, so it exists. Please let me know if you figure out how to get on there because setting the favorites has to be a breeze compared to that.

  • How to set default view in Adobe Reader 9?

    I am trying to figure out how to set adobe reader so that when you open a document you automatically get the page view on the right side come up and the document in full mode.  I have researched registry edits and also the customize wizard with no luck.  Does Adobe Reader have the capability to set these as defaults on any document?  I have the application setup to remember what I did so if I open the same document it will show pages and be in full mode; however, if I open a new document, I have to select the icon on the left to display pages and then set to full mode.  Thanks Joe

    Does Adobe Reader have the capability to set these as defaults on any document?
    Adobe Acrobat can do this, not Adobe Reader.

  • How to set default view for preview?

    Every time I open a PDF using Preview I have to set the view to 'thumbnails', then 'two pages up', then adjust the zoom. Complete waste of time.
    Anyone know how to set defaults so that it opens in a predictable way?
    thanks,

    I customized my Toolbar to look like the following. Click the middle button that has the 1 circled. That tells Preview to remember to display pages at actual size (100%). Every file that I open now displays at 100%.

Maybe you are looking for