Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1418417
  • 博文数量: 239
  • 博客积分: 5909
  • 博客等级: 大校
  • 技术积分: 2715
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-24 20:19
文章分类

全部博文(239)

文章存档

2014年(4)

2013年(22)

2012年(140)

2011年(14)

2010年(59)

我的朋友

分类: Oracle

2012-06-12 14:07:45

例如查询dbms_backup_restore中backupBackupPiece函数重载的次数:

方法1
select text from dba_source where name = 'DBMS_BACKUP_RESTORE' and text like '%backupBackupPiece%';
查询结果的行数即是次数.

方法2
set long 1000000
SQL> spool /tmp/a.out
SQL> select dbms_metadata.get_ddl('PACKAGE','DBMS_BACKUP_RESTORE') from dual;
SQL> spool off

then in the spool file search for backupBackupPiece, you can count it and check details.
阅读(1234) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~