S
Steven Blair
Hi,
I have a system which processes 1000's of transactions per hour. Part of
each transaction process invloves me calling a stored procdure which
updates various tables.
What I want to know is, is a Stored Procedure like a function in terms
of performance, each time the SP is about to get called, the function
will have memory allocated for it on the stack(including all variables
required). So, this process would happen however many transactions I was
processing.
If this is the case, is there a way in c# to cache the stored procedure
to prevent this happening. After the first transaction has been
processed, the SP will exist in memory.
I am using SQL Server.
Any help on this would be appreciated.
Regards,
Steven
I have a system which processes 1000's of transactions per hour. Part of
each transaction process invloves me calling a stored procdure which
updates various tables.
What I want to know is, is a Stored Procedure like a function in terms
of performance, each time the SP is about to get called, the function
will have memory allocated for it on the stack(including all variables
required). So, this process would happen however many transactions I was
processing.
If this is the case, is there a way in c# to cache the stored procedure
to prevent this happening. After the first transaction has been
processed, the SP will exist in memory.
I am using SQL Server.
Any help on this would be appreciated.
Regards,
Steven