Drop Table
Support Forum for database administrators and web based access to important newsgroups related to databasesDear all, We would like to keep a counter on how many time a specific stored fuction is called. At first, we want to add this counter inside the function but update record to table is not allow in stored function. Is there any other method to do so? Ivan
Post Follow-up to this messageYou could run profiler, or you can have audit statements before the function is called if it is within a proc. -- Hilary Cotter Director of Text Mining and Database Strategy RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. This posting is my own and doesn't necessarily represent RelevantNoise's positions, strategies or opinions. Looking for a SQL Server replication book? http://www.nwsu.com/0974973602.html Looking for a FAQ on Indexing Services/SQL FTS http://www.indexserverfaq.com "Ivan" <ivan@microsoft.com> wrote in message news:uF76fgk%23GHA.1752@TK2MSFTNGP02.phx.gbl... > Dear all, > > We would like to keep a counter on how many time a specific stored fuction > is called. > > At first, we want to add this counter inside the function but update > record to table is not allow in stored function. > > Is there any other method to do so? > > Ivan >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread