oracle中建立函数?如何查看自己都建立了哪些函数?
SQL PLUS下:查看建了哪些函数,注意,引号内大写select object_name from user_objects where object_type='FUNCTION';查看函数内容,引号内为你要查询的函数名,也要大写select text from user_source where name='函数名';
PLSQL Developer下查询用户下的函数:SELECT * FROM dba_objects WHERE object_type='FUNCTION'and owner='用户名';查询函数内容:SELECT dbms_lob.substr(DBMS_METADATA.GET_DDL('FUNCTION', '函数名', '用户名')) FROM dual;
posted on
2018-05-07 23:59
seven1314pp
阅读(9868)
评论(0)
收藏
举报