Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Do some statistics on calling a specific stored function
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



Report this thread to moderator Post Follow-up to this message
Old Post
Ivan
10-29-06 12:14 AM


Re: Do some statistics on calling a specific stored function
You 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
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hilary Cotter
10-29-06 12:14 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:06 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006