1. 程式人生 > >DB2 檢視儲存過程內容並匯出

DB2 檢視儲存過程內容並匯出

1.檢視儲存過程內容:
[email protected]:~>db2 "select * from syscat.PROCEDURES where PROCNAME ='?'"

2.匯出儲存過程資訊:

[email protected]:~> db2 "export to ttt.del of del modified by lobsinfile select * from syscat.PROCEDURES where PROCNAME ='PROC_NAME'"