How to display  Columns  in Alphabatical  order when using DESC command

Hello
A table column is inserted not in alphabetic order during the table creation definition.
So while describing the table definition (e.g. desc emp)
it will not show in the same order as we are written during the table creation.
Question: is there any utility/command/query which will display the columns in alphabatical order while describing it.
Regards
Nikhil Wani

select column_name from user_tab_columns
order by column_name;
should do it.
Sunil

Similar Messages

  • How to display LOGO in ALV grid when using class CL_GUI_ALV_GRID

    Hello everyone,
    please let me know how to display Company logo as the header part in the report program with the class cl_gui_alv_grid.
    Thanks and regards,
    Padma.

    Hi,
    Got this info from a site.
    http://sap.ittoolbox.com/documents/document.asp?i=3213
    In the transaction OAOR, you should be able to insert your company Logo.
    GOTO - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    Try this one.
    Also have a look at this link
    http://www.sap-img.com/fu002.htm
    Message was edited by: Judith Jessie Selvi

  • How to display a  User defined  symbol when using addLinearFeature

    Hi ,
    We are displaying our DataBase spatial data in the form of image on to the browser .
    With the help of MapViewer mv.addLinearFeature i am able to draw lines on to it .
    I have created styles in MapBuilder for our userdefined symbols and added to Mapviewerconfig file .
    Now as per our requirement we need to put our user defined symbols in the middle of the line when a line is drawn using addLinearFeature
    For example Like This :
    Assume that (::) this is our symbol .
    Please tell me how to do this .

    You could use the marker (user defined symbol) as a label for the line. Something like the highways theme/style definition in the mvdemo example where the highway shield is a marker.
    SQL> select styling_rules from user_sdo_themes where name='THEME_DEMO_HIGHWAYS';
    STYLING_RULES
    <?xml version="1.0" standalone="yes"?>
    <styling_rules >
    <rule >
    <features style="L.PH"> </features>
    <label column="ROUTEN" style="M.SHIELD1"> 1 </label>
    </rule>
    </styling_rules>
    SQL> select definition from user_sdo_styles where name='M.SHIELD1';
    DEFINITION
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc></desc>
    <g class="marker" style="width:20;height:18;font-family:sansserif;font-size:9pt
    ;fill:#ffffff;text-style:[t.shield1]">
    <image x="0" y="0" width="9999" height="9999" type="gif" href="dummy.gif"/></g>
    </svg>
    SQL>
    The content of ROUTEN (column/attribute) is displayed in the marker (m.shield1).
    Will something similar work or is your requirement different?
    If its to simply display a marker (i.e. your user defined symbol which is in the database user_sdo_styles view) somewhere along the line then use a line style definition like (see Appendix A of the user guide):
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <g class="line" style="fill:#33a9ff;stroke-width:4;
    marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8">
    <line class="parallel" style="fill:red;stroke-width:1.0"/>
    </g>
    </svg>
    This will display the marker M.IMAGE105_BW at about 0.15th of the line length.
    If you want that marker repeated at fixed intervals (0.15 of line length in the following) then use
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <g class="line" style="fill:#33a9ff;stroke-width:4;
    marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8;multiple-marker=true">
    <line class="parallel" style="fill:red;stroke-width:1.0"/>
    </g>
    </svg>

  • How to display content in same page when a custom command is clicked

    I have created a custom command and returned the following parameters in getLinkAttributes method but the content still opens in a window. How can I display the content in the same window/
    String editwindow = "open("iViewURL","windowName","javaScriptParam")";
    return new LinkAttributes(editwindow,"_self",true);
    Thanks in advance
    Vidya

    Hi,
    This is part of JPDK. You will have to install it. Which version of portal are you using? You can also try this out using
    URL portlet which is available with webview in 309.
    Thanks,
    Sharmila

  • How to not be prompted for pwd when using sftp command

    Hello -
    I want to be able to run an sftp command in a shell script without being prompted for a password, but am not having success.
    Here is my script:
    sftp -oPort=34333 [email protected]
    bye
    exit
    Any ideas are greatly appreciated!
    Thanks!

    From Local Computer (follow the prompts at each stage).
    1. Login to the localcomputer as required user and generate a pair of authentication keys using keygen
    ssh-keygen -t rsa
    2. Login to the remotecomputer as required user and create the .ssh directory
    ssh -l remoteuser remotecomputer mkdir -p .ssh
    3. Copy the Local user public key to Remote User .ssh directory into authorized_keys file. And, type the password again for the last time
    cat .ssh/id_rsa.pub | ssh -l remoteuser remotecomputer 'cat >> .ssh/authorized_keys'
    4. Connect to the remotecomputer using ssh, sftp or scp . For ssh e.g.
    ssh -l remoteuser remotecomputer
    This might work, but you need to check it up to correct any mistakes I make with the commands because I am just typing it without testing

  • How do you shuffle the image order when creating a new slideshow in apterture 3?  i would like to do this automatically when creating a new slideshow.  i see how you do it when you just play a slideshow.

    how do you shuffle the image order when creating a new slideshow in apterture 3?  i would like to do this automatically when creating a new slideshow.  i see how you do it with presets when you just play a slideshow, but i don't see an option to randomly shuffle the slide order when you create a new slideshow.  i know you can sort it by different fields, but i want it to be random.  thanks.

    If you want to rearrange images in random order you can try an AppleScript:
    retrieve a list of selected images from Aperture
    shuffe the list properly
    create an album in Aperture and add the images from the list to the album (make sure that the album set to be orederd manually)
    Here  is a sample script that shuffles the selected images and displays them in random order in Full Screen Mode:
    on removeItem(ims, i)
      -- remove the item at position "i" from a list ims
              if ims is {} then return {}
              if (length of ims is 1) then return {}
              if i < 2 then return rest of ims
              if (i = length of ims) then return (items 1 thru (i - 1) of ims)
              if i > (length of ims) then return ims -- should be error?
              return (items 1 thru (i - 1) of ims) & (items (i + 1) thru (length of ims) of ims)
    end removeItem
    on shuffle_items(ims)
      -- shuffle the items of the list "ims" randomly
              local numitems, ims_shuffled, nextrest, nextpick, i
              set numitems to length of ims
              if length of ims < 2 then return ims
              set ims_shuffled to {}
              set nextrest to ims
              repeat until nextrest is {}
                        set i to (random number (numitems - 1)) + 1
                        set nextpick to item i of nextrest
                        set beginning of ims_shuffled to nextpick
                        set numitems to numitems - 1
                        set nextrest to removeItem(nextrest, i)
              end repeat
              return ims_shuffled
    end shuffle_items
    on shuffleIms()
      -- retrieve the selected images from Aperture
      -- and display them in random order in full screen mode
              local imageSel, shuffled, i
              tell application "Aperture"
      activate
                        set imageSel to (get selection)
                        set shuffled to my shuffle_items(imageSel)
                        set fullscreen to true
                        if imageSel is {} then error "Please select some images."
                        repeat with i from 1 to count of shuffled
                                  reveal {item i of shuffled}
      delay 3 -- chnage that to the time you want
                        end repeat
                        set fullscreen to false
                        return shuffled
              end tell
    end shuffleIms
    shuffleIms()
    Some more code snippets to go from here:
    To create an album:
                        tell library 1
                                  if not (exists album "shuffledAlbum") then
      make new album with properties {name:"shuffledAlbum", image version:shuffled}
                                  end if
                        end tell
    And to add the images from the shuffled list to the album:
                        repeat with i from 1 to count of shuffled
                                  duplicate item i of shuffled to album "shuffledAlbum"
                        end repeat
    Regards
    Léonie

  • How do I create columns in my text when using pages?

    How do I create columns in my text when using pages?

    Presuming you are using Pages 5.2.2:
    select the text > choose the number of columns in the Format > Layout sidebar
    Peter

  • How can I show additional tab rows when using many open tabs?

    How can I show additional tab rows when using many open tabs?

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to display a image in webdynpro view using a bytearry

    Hi Frndz..
    How to display an image in a view using webdynpro java ..i have bytearry object in context ..like
    *byte[] img = wdContext.nodeYywwwdataImport_Input().nodeOutput().nodeOutMime().currentOutMimeElement().getLine();*_
    by using this i need to show image in view..
    Kindly help me ....
    Thankas in Advance
    Regards
    Rajesh

    Hi,
    byte[] img = wdContext.nodeYywwwdata_Import_Input().nodeOutput().nodeOutMime().currentOutMimeElement().getLine();
    use this code to create resource and you need to set this value to the context created to display the image suppose in the image UI and set the source property with this attribute:-
    IWDResource res=WDResourceFactory.createCachedResource(b,"MyImage",WDWebResourceType.JPG_IMAGE);
    IPrivateAppView.IVn_ImageTabElement imageEle=wdContext.createVn_ImageTabElement();
           imageEle .setVa_Name(res.toString());
    wdContext.nodeVn_ImageTab().addElement(imageEle);
    Hope this may help you.
    Deepak

  • How to transfer range parameter from vb when using bapi calling

    Hi,everyone.how to transfer range parameter from vb when using BAPI calling?

    Did you get the solution to your problem?  Can you please share it with me. I have a similar problem. I have a VB program that calls RFC function. It works with a single parameter but not with a range of parameters. If you have the solution, could you please share sample codes with me? Thank you so much.

  • How to display two grids in same screen using SALV Method

    Hi Freinds,
    Please let me know how to display two grids in same screen using SALV Method.
    Thank you
    Regards,
    SDV

    Using the same concept as described in How to dispaly Three Internal Table  Data (One below another) in ALV OOPS .
    All you need to add is passing your new containers as r_container parementer of factory method.
    "1st one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_top_container
    "2nd one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_bottom_container
    Regards
    Marcin

  • Why pop up is shown to ask for inputing sales order when using COR1

    I want to create a process order with order type PI01, but pop up window is shown to ask for sales order when using COR1.   I suppose there is something wrong with material master setting, but I've never set classification to this material.
    Please help.

    Hi Nichole
    Is the material assigned to any MRP group , if yes then check the  config settings on t-code OPPR, if stg group is assigned. also check the matrial type to default MRP group assignment settings in SPRO>production>mrp>MRPgroup> Define MRP Group for Each Material Type.
    regards
    Prasad
    reward if useful

  • How do images embeded in InDesign link when using Creative Cloud on more than two desktops?

    How do images embeded in InDesign link when using Creative Cloud on more than two desktops?

    If I am understanding your question correctly, you shouldn't have to worry about embedded images in InDesign. Once embedded, the image is stored within the file.
    If you are wondering about linked images... InDesign will follow the path on your computer and, if it does not find the image, you will recieve a notification. Edit: To prevent this, I would suggest packaging your file using File > Package... This will create a folder with all of your fonts and linked graphics so that you need not worry about broken links.  I just remembered that you cannot upload folders directly to Creative Cloud so a packaged folder wouldn't be very helpful unless you wanted to upload each file manually.
    The best solution I see right now is to either embed the graphics in the document, or upload the images with your document to relink.
    I hope this helped,
    Michael

  • How do you update the Bios safely when using onboard RAID mirror? Z87-G45

    How do you update the Bios safely when using onboard RAID with Z87-G45?   I'm using a simple two drive, RAID 1 mirror setup.
    I'm currently at bios 1.4, and want to move up.  However, last time I upgraded the BIOS, the machine rebooted with improper settings for the RAID (they get hosed during BIOS flash) and Windows decided to auto-repair the only boot drive it could see, one half of the mirror, because it couldn't see the RAID array correctly and *POOF*  bare-metal reinstall required.   
    My PC will not let me press the DEL key on bootup to access the bios, even with MSI Fast Boot not installed.  It just ignores the DEL key and tries to load windows which, if that happens, will flame-out my RAID array after a bios flash if I can't catch it to enable the RAID first before windows loads.
    I do not want to rebuild my PC again simply because I do a BIOS update.

    FYI: BIOS 1.4 & 1.8 are using the same RAID version: 12.7.0.1936
    based on this RAID surprise should not hapends.
    But as pandaz says if you have no issues, leave bios update alone.
    there are still risks something to messed up,
    best do a backup of your data just in case if you want to try latest version

Maybe you are looking for