Oracle 10gR2 on Win2k3
Is it possible to change the column_id for a table without dropping the table or creating view?
Example Current table Structure:
FNAME, MNAME, LNAME
Need to change it to:
LNAME, FNAME, MNAME
I can see the corresponding COLUMN_ID for that table (FNAME, MNAME, LNAME) as 1,2,3 respectively. Is it possible to change the COLUMN_ID for that table (FNAME, MNAME, LNAME) to 2,3,1??
I have tried
SQL>alter dba_tab_columns set column_id=1 where table_name='xxx' and column_id=4;
thinking that maybe I need to change 1 to 4 since 4 is not used and then 3 to 1 and so on and so forth. Did not work.
Can I change the COLUMN_ID?? If so, how do I do it?
Thanks.
Edited by: OracleNewbie828 on Jul 2, 2010 9:56 AM