oracle 資料結構
添加字段
alter table tablename add(columname columtype)
删除字段
alter table tablename drop(columname)
檢視表字段結構
desc tablename
添加主鍵
alert table 表名 add constraint pkKey primary key(字段清單)
eg. alter table OP_LOG add constraint PK_OP_LOG primary key(OP_LOG_ID);
檢視所有存儲過程(2013-01-18)
select * from user_objects where object_type='PROCEDURE';