1.首先需要sys或者system權限操作
2.查詢需要更改的表的ID
select object_id from all_objects where owner = '用戶名' and object_name = 'tableName'; 注:表名需要大寫
3.通過ID查詢出該表所有字段的順序
select obj# , col# , name from sys.col$ where obj# = '表ID' order by col#
4.修改順序:更改目標行 , 更改受影響的行
update sys.col$ set col# = 1 where obj# = 表ID and name = ''; 注:必須是sys權限執行才行
5.commit 提交/查詢表有無變化
6.重啟oracle服務
--lunix下重啟oracle服務
https://www.cnblogs.com/lingbing/p/6071745.html