Ho do I change the physical order of the columns in a table

I want to change the physical order of the columns in a table, so that I get the expected order when I query like :
select * from <tablename>

Hi!
There are different methods of doing that, you can either create a view on that table which will retrieve the columns in the correct order, or you can copy and rename the table using CREATE TABLE AS SELECT ..., or you can use the online table redefinition functionality if your using 10g.
Regards,
Petra

Similar Messages

  • How do I change the sort order in the file picker?

    Hi there,
    I've recently hit a problem with the Save and Open dialogs in Mavericks. Some how I have changed the sort order within the Column View so that it sorts by modified date and no longer by name. Unfortunately I can't work out how that happened or how to get it back so that it sorts by Name.
    Please could anyone help?

    Normally, you click on this thing (shown below) and select the sorting preference.

  • How do I change the display order in the VPN menu in the status bar?

    Hello,
    How do I change the display order in the VPN menu in the status bar?
    (in the drop-down menu from this icon) ->
    Thanks.

    Hello. Perhaps this is because you are trying to arrange the order of many VPN services, since only one VPN service can be selected at once in System Preferences. In my original post, I did not mean that; I meant that I wanted to arrange the order of VPN configurations within a VPN service. In this screenshot, I have one VPN service only:
    And in the following one, it is shown that there are more than one VPN configurations within that VPN service:
    Furthermore, it was the order of VPN configurations that I wanted to change, not the order of VPN services. If you are trying to change the order of VPN services, I do not have a solution.

  • Why does iPhoto change the sort order of the photos in my album when I attempt to share via Photo Stream?

    Why does iPhoto change the sort order of the photos in my album when I attempt to share via Photo Stream?

    Did anyone find a good way to sort the shared albums better, so that the ones you share with can better find their way around.
    You can arrange them manually in an album, select all and use the Photos ➙ Batch Change ➙ Date to menu option and check the box to add a set interval between photos. That will let the photos be sorted by date and be in the order you want:
    OT

  • Report (summary) to print in the same order as the PAYCHECK run.

    Hi,
    I have a requirement where an incentive pay summary by salesperson, will need to print in the same order as the checks that print for those salespersons.
    Is this possible and if so, what is required to accomplish the above requirement?
    Thank You,
    John

    You can't change them once they are in the Photos app. On iOS 5 the photos will be sorted by the photo's 'date modified' field (from here) - so you will need to modify that field on your photos before syncing to get them into your required order. Or you could consider using a third-party photo management app instead of the Photos app e.g. Photo Manager Pro which allows you to re-order photos directly within the app.

  • How do I get the data in the CSV file to be in the same order as the form?

    When I merge my data from multiple form submissions into a csv file, the data is completely out of order, which makes it pretty much useles. How can I make it export the data in the same order? Also, the headers of each column or garbled. For example:
    Depth (mm) shows in excel as Depth__mm__aqWhxx1nhpwx*3sgoBx9UQ
    Lesion Location with check boxes: Face, Scalp, Trunk shows as each individual: Lesion_Location_1_15w4B5z9Kg2FKrkCPa6Wvg or Lesion_Location_3_15w4B5z9Kg2FKrkCPa6Wvg.
    What I want is for the data produced to be in the same order as the form and with the same headers.
    Also, I created several help texts that don't appear in the form.
    I'd be happy to upload any of the files (form template, form pdf, csv file) if there is a way to.
    I used Adobe Forms Central to create the forms in Acrobat XI Pro. I'm on a windows 7 computer.
    Thank you for your help

    Some of this is just the way it is with a PDF form created with FormsCentral. The fields get those names to ensure that they are unique, since the FormsCentral designer app does not allow yo to specify the field names directly. A fixt would be to create the form in Acrobat and you can give the fields any name you want. You can also change the field names in Acrobat after first removing the usage rights from the PDF by selecting: File > Save a Copy
    and renaming the fields to what you want. Also remove the submit button it added. You can then upload the edited PDF to FormsCentral and Distribute it. It looks as though the order of the fields in the table are alphabetical, so it you rename your fields so they will be in the order you want when arranged alphabetically (e.g., A1_Patient_ID, A2_Biopsy_Age, etc.), that might be an approach to take. Also, if this is for human patient data, check for regulatory compliance of this system. FormsCentral is specifically not HIPAA compliant as stated in the license agreement.

  • How to display the sales order in the line item in FB03

    Hi Experts,
    I have a requirement to display the sales order in the line item of t-code FBO3, could anybody suggest an userexit or BADI for the same.
    Thanks in advance.
    RP.

    >
    S. Rajesh Paul wrote:
    > Hi Experts,
    >
    > I have a requirement to display the sales order in the line item of t-code FBO3, could anybody suggest an userexit or BADI for the same.
    >
    > Thanks in advance.
    >
    > RP.
    I assume, you want to display sales order number in accounting document..... .
    This is not something you can do it through the BADI..
    You will have to change the G/L account field group (if it is already not there). you can then assign sales order number when posting to FI.  In the field group, better choose sales order number and item number as optional fields.
    If you can see the sales order field (may be empty) - you have to enter the sales order number when you post it.
    Good luck

  • No row count in the Physical layer of the Administration Tool

    Hi,
    While creating physical layer, I imported tables and set connection pool.
    After this, to verify connectivity, clicked Tools > Update All Row Counts.
    Now according to Oracle online guide,
    "when update all row counts completes, verify that the row counts are displayed in the Physical layer of the Administration Tool"
    I do not see the row counts in the Physical layer of the Administration Tool. No error message gets displayed either.
    Am I doing something wrong?
    I am new to OBIEE.
    Thanks in Advance & Regards,
    Deeba

    Hi Hammett81 ,
    I think, I have given configured connection pool correct. (following Oracle guidelines: 'In the Connection Pool dialog box, on the General tab, verify that the call interface is set to Default (OCI 10g) and change the data source name to the appropriate tnsnames.ora entry ( ORCL in this example). Please note that this is the TNS service name, not the ODBC DSN. ' )
    I tried to give ODBC DSN (SH) as call interface, which resulted in an Error dialogue, implying, previous configuration was correct.
    So, I reverted back.
    Regards,
    Deeba

  • Photocast messes up the picture order of the album and won't sync w/ iPod

    I spent a lot of time organizing a couple of hundred pics in chronologic order and everything looks fine when viewed in iPhoto on my computer. Then I photocasted the pics to family and myself so I could view it on a different computer. Well, all the pics are in the wrong order on the Photocast. Plus, the album now won't sync with my iPod. I duplicated the album and then it would go to my iPod, however, all the pics are in the wrong order just like the Photocast.
    I ended up unpublishing the album, deleting the messed up copy album and then everything was fine again on the iPod.
    Any way to preserve the exact order of the pictures in the album and get it to still copy onto the iPod? Is this just a bug?

    I got through to Apple tech support to a guy who was nice enough, but was clearly just searching the database to answer the question (like I already had on the Internet) and he didn't really understand my questions completely. Initially I got the feeling he was just going to tell me- sorry he couldn't answer my questions, until I asked him if he could please ask a supervisor or someone else.
    Bottom line, photocasting will put your pictures in order by date and cannot be changed unless you manually change the date in the info section of iPhoto for each picture. So all the effort in rearranging pictures doesn't matter unless the dates are chronologic.
    I have no intention of manually changing the dates of over 1,000 family pictures I have scanned into the computer over the last 5 years. Oh well, at least the real date is in the title of each picture I imported.
    He said he couldn't find anything on why a photocasted album wouldn't sync with the iPod. So I said, "Did you ask anyone else?", then he put me on hold and said he would try and find out.
    The answer to the 2nd question is that No-shared libraries/photocasted albums will not copy over the iPod. You would have to duplicate the album, but then you may lose any arranging you've done (again the pics will be ordered by date if by digital camera or date imported if scanned).
    I now know that any scanned pictures will have to have manually changed dates. I am too lazy right now to go back and fix years of scanning and importing. I just won't use Photocasting for now and hopefully in the future there will some sort of Preference choice on how to sort the photos other than date.
    Cheers

  • Using MS Access Web App, can you set the tab order of the fields on a form?

    Using MS Access Web App, can you set the tab order of the fields on a form?  Doesn't appear to be a property.  I don't see a programmatic method.  I saw someone suggest using goto control on the after update event trigger but what if the person
    doesn't edit the field?  No event would be fired.
    Jim

    Hi Jim,
    >>Using MS Access Web App, can you set the tab order of the fields on a form?
    I am afraid you could not. In Web applications, the tab order is set automatically and cannot be changed.
    (From
    https://support.office.com/en-au/article/Set-the-tab-order-for-controls-3d7f749c-5a53-42b2-bb0e-2323fa044e2e)
    >> I saw someone suggest using goto control on the after update event trigger but what if the person doesn't edit the field?  No event would be fired.
    The goto method is a workaround, but it should be triggered by a specific event. What I can figure out is changing the order of the fields.
    If this is a feature you want to include in future versions of Access Web app, please submit a feedback as the picture below:
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to define the running order of the listeners

    Hello
    I would like to know how to define the running order of the listeners in my Dialogs.
    e.g. loadcontent on each element will do different things and some depedent on others to load when you you need the generated values based on the generated values of another element
    Thank you
    Nikolas

    Hi mei
    instead of using append use modify.
    i hope this might help you.
    gs_fieldcat-fieldname = 'VRT'.
    * gs_fieldcat-ref_table =.
    gs_fieldcat-outputlen = '3'.
    gs_fieldcat-edit = 'X'.
    gs_fieldcat-key = 'X'.
    gs_fieldcat-coltext = 'VRT'.
    gs_fieldcat-col_pos = 6.
    <b>*append gs_fieldcat to gt_fieldcat.
    modify gt_fieldcat from gs_fieldcat.</b>
    clear gs_fieldcat.
    gs_fieldcat-fieldname = 'QTY'.
    gs_fieldcat-datatype = 'FLTP'.
    gs_fieldcat-outputlen = '12'.
    gs_fieldcat-DECIMALS = '3'.
    gs_fieldcat-coltext = 'QTY'.
    gs_fieldcat-edit = 'X'.
    gs_fieldcat-col_pos = 7.
    <b>*append gs_fieldcat to gt_fieldcat.
    modify gt_fieldcat from gs_fieldcat.</b>
    or u can also try this way.
    form build_fieldcat changing gt_fieldcat type lvc_t_fcat.
      data gs_fcat type lvc_s_fcat.
      call function 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name = 'TABLE NAME'
           CHANGING
                ct_fieldcat      = gt_fieldcat.
      clear gs_fcat.
      loop at gt_fieldcat into gs_fcat.
        if gs_fcat-fieldname EQ 'VRT'.
          gs_fcat-scrtext_s = 'VARIETY'.
          gs_fcat-scrtext_m = 'VARIETY'.
          gs_fcat-scrtext_l = 'VARIETY'.
          gs_fcat-reptext   = 'VARIETY'.
          gs_fcat-seltext = 'VARIETY'.
          gs_fieldcat-outputlen = '3'.
          gs_fieldcat-edit = 'X'.
          gs_fieldcat-key = 'X'.
          gs_fieldcat-col_pos = 6.
          modify gt_fieldcat from gs_fieldcat.
         endif.
        if gs_fcat-fieldname EQ 'QTY'.
          gs_fcat-scrtext_s = 'QUANTITY'.
          gs_fcat-scrtext_m = 'QUANTITY'.
          gs_fcat-scrtext_l = 'QUANTITY'.
          gs_fcat-reptext   = 'QUANTITY'.
          gs_fcat-seltext = 'QUANTITY'.
          gs_fieldcat-outputlen = '3'.
          gs_fieldcat-edit = 'X'.
          gs_fieldcat-key = 'X'.
          gs_fieldcat-col_pos = 7.
          modify gt_fieldcat from gs_fieldcat.
         endif.
    and so on.....
    endloop.
    regards,
    venu.

  • Email of the Purchase Order to the User

    Hi,
    Currently, I am able to send the email of the purchase order to the vendor mail address, which is mentioned on general data tab of the vendor master.
    In addition, the requirement is that the purchase order also to be emailed to the User, who has created it.
    I have added the VU in NACE settings for application EF, output type NEU. The payment medium I have used is 5 (external send).
    However, when I try to add the VU and the user name to the vendor master partner details tab, the system is not taking in.
    Please let me know how can I email the purchase order to user.
    Thanks in advance for your time.
    Thanks,
    Ravi

    Hi,
    1) Add the user email address also in the vendor master.
    2) Verify all settings in condition records.
    3) Check tcode sost for any waiting send requests.
    Regards,
    BK

  • Is there a way to get the correct order from the dependent types of a sche

    Hi ,
    I have a CT facing the following problem:
    When trying to built a SQL script to create all the object types within a schema using the DBMS_METADATA packages.
    Did insert in a table the names of the types that will be exported following a concrete order, next loop into the table and call the DBMS_METADATA package for each row.
    These type are depedent between them, there are some type attributes calling other types and here the issue
    First : try to generate the order by created column of dba_objects and when the generated SQL script is launched a lot of type appearing as incomplete state due to the order isn't correct.
    Second : try to insert the table ordering by object_id colums of dba_tables view, it appears incomplete types too.
    Currently want to insert the table using a recursive query with connect by against the dba_type_attrs starting with the rows when ATTR_TYPE_NAME is not null (the types that are called by other types), but this way has a issue dificult to resolve: the roots of hierarchy are the rows when ATTR_TYPE_NAME is not null and we've dependencies between roots nodes
    The question is is there a way to get the correct order from the dependent types of a schema?
    Platform: IBM SP AIX
    DB version: 9.2.0.7
    Any help will be appreciated .
    Thanks in advance.

    The xxx_dependencies view should give you the dependencies betwee nthe various types. I would look at something along the lines of:
    SELECT object_name, referenced_name
    FROM (SELECT o.object_name, d.referenced_name
          FROM user_objects o, user_dependencies d
          WHERE o.object_name = d.name(+) and
                o.object_type = d.type(+) and
                d.referenced_type(+) = 'TYPE' and
                o.object_type = 'TYPE')
    START WITH referenced_name IS NULL
    CONNECT BY PRIOR object_name = referenced_nameThe outer join between user_objects and user_dependencies is required to generate the names of types which are not dependent on other types, or do not have other types dependent on them.
    HTH
    John

  • I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    The largest capacity HDD that you can install is the HGST 1.5 TB HDD:
    http://eshop.macsales.com/item/HGST/0J28001/
    Any 2.5" 9.5mm thick SATA HDD will fit and operate in your MBP, regardless of capacity.
    Ciao.
    Message was edited by: OGELTHORPE

  • How to find the physical path of the ASM disks?

    I am in a dilemma on how to find out the physical path of the ASM disks. I tried the following query, but as you can see it is not providing me the physical path of the LUN. This is a 2 node 10.2.0.4 RAC Cluster using asmlib package.
    col name format a20
    col path format a20
    col label format a20
    select name, path, label from v$asm_disk;
    NAME PATH LABEL
    ORCL:ASM103 ASM103
    ORCL:ASM104 ASM104
    ORCL:ASM117 ASM117
    ASM101 ORCL:ASM101 ASM101
    ASM102 ORCL:ASM102 ASM102
    ASM105 ORCL:ASM105 ASM105
    ASM106 ORCL:ASM106 ASM106
    ASM107 ORCL:ASM107 ASM107
    ASM108 ORCL:ASM108 ASM108
    ASM109 ORCL:ASM109 ASM109
    ASM110 ORCL:ASM110 ASM110
    NAME PATH LABEL
    ASM111 ORCL:ASM111 ASM111
    ASM112 ORCL:ASM112 ASM112
    ASM113 ORCL:ASM113 ASM113
    ASM114 ORCL:ASM114 ASM114
    ASM115 ORCL:ASM115 ASM115
    ASM118 ORCL:ASM118 ASM118
    ASM119 ORCL:ASM119 ASM119
    ASM120 ORCL:ASM120 ASM120
    ASM121 ORCL:ASM121 ASM121
    ASM122 ORCL:ASM122 ASM122
    ASM123 ORCL:ASM123 ASM123
    NAME PATH LABEL
    ASM124 ORCL:ASM124 ASM124
    ASM125 ORCL:ASM125 ASM125
    ASM126 ORCL:ASM126 ASM126
    ASM127 ORCL:ASM127 ASM127
    ASM302 ORCL:ASM302 ASM302
    ASM303 ORCL:ASM303 ASM303
    ASM304 ORCL:ASM304 ASM304
    ASM305 ORCL:ASM305 ASM305
    ASM306 ORCL:ASM306 ASM306
    ASM307 ORCL:ASM307 ASM307
    32 rows selected.
    Any help will be appreciated.
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi
    use the following linux command as root:
    $oracleasm listdisks
    hth

Maybe you are looking for

  • E26 253 Error while checking in and storing: \\sapserver\file.tif

    Hi Experts, I have now been fighting with this problem for a couple of weeks, and not been able to solve the issue. My problem is to upload/check-in documents from the application serve in background. I have a program to create DIF and attach files u

  • How to implement this: Exception handler for managed bean

    Hi, i'm using jdev 11g rel 1 , and i know i can use custom java class to extends DCErrorHandlerImpl, and override some method to customize the output or other info of my exceptions. And then config it for databindings.cpx to make it available. But i

  • Dont understand Synchronized method to complete program

    I'm trying to finish theis program but i don't understand synchronized methods. I checked the java tutorial and i am still confused. Can someone help me approach finishing this program. Here is the spec and the first part of the program i have done.

  • Contentbase Device

    In Proximity Artbox, a Contentbase device was one that allowed infinite versions of the same exact named file to be loaded in as completely separate assets. This was accomplished because the file directory structure underneath the root folder of a Co

  • Any one can help me ? cluster

    i have configured a cluster, node a and node b in the island 1,all in the same machine,but have different server port, when there is no sesionn,it works well,if one is down,and request is direct to another,but if i have session ,it also redirect to a