Let us suppose we have a table with structure in order

empno
empname
empdesig
empcountry

and now i want to re-organize the columns of this table to

empno
empdesig
empname
empcountry

how can i do this with queries ?

assume that table contains the data.

Answer Posted / bala

try updating the values for COLUMN_ID in the
ALL_TAB_COLUMNS table..using Admin Privilege. to update
this table...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is left join in postgresql?

538


What does joining a thread mean?

544


What is lookup table in sql?

601


What are the different types of tables in sql?

481


How to get list of all tables from a database?

623






What is java sql drivermanager?

546


Why procedure is used in sql?

531


what are all types of user defined functions? : Sql dba

544


When is a declare statement required?

673


What is the difference between unique and primary key constraints?

584


Can we use update in sql function?

576


Is it possible to pass parameters to triggers?

571


What is the purpose of the partition table?

540


How to use transactions efficiently : transact sql

540


How do I create a sql database?

519