Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to change the column position

Srikkanth.MFeb 24 2010 — edited Feb 25 2010
Hai All

I have created a table with four columns and i need to change the column position

For example Table name is emp

columns are name,address,empno,salary

And now i need to change the columns position while i am displaying select * from emp not as select col1,col3,col2..

Pls tell if it possible

And while adding f it possible to add a new column into a specific column position

For example

In the above table shall we add a new column in a second position

pls give some good examples

Thanks in advance

Srikkanth.M
This post has been answered by Shaamil . on Feb 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2010
Added on Feb 24 2010
7 comments
1,022 views