Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> how to count the usage of a SQL function?
Hello, List:
We have more than 100 triggers in the database. Some of them use ORACLE NEW_TIME function in the code. Is there a way that we can count how many triggers are referencing NEW_TIME function?
I used below query, but it will only count the function that we created in the database. how can can count SQL function (NEW_TIME)?
Select Count(*) From USER_DEPENDENCIES
Where Type in ('PROCEDURE', 'TRIGGER')
And REFERENCED_TYPE = 'FUNCTION'
And REFERENCED_NAME = 'TIME_CONVERT'
Thanks a lot
Steven
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue May 07 2002 - 18:08:29 CDT
![]() |
![]() |