修改oracle表的字段顺序

修改时需要sys权限。

--查询表的object_id,其中TEST为表名,必须大写。
select object_id from all_objects where object_name='TEST';
--根据上个语句查询出的object_id查询列顺序的值。
select obj#,col#,name,ROWID from sys.col$ where obj#=96425;


你可能感兴趣的:(oracle,where)