SQL SERVER Tips and Tricks
Friday, 25 May 2012
What are the various ways in which a stored procedure can be executed?
A stored procedure can be invoked or executed using the following syntax :
EXEC < Procedure Name>
EXECUTE <Procedure Name>
<Procedure Name>
A stored procedure with the name 'USP_SAMP' can be executed using one of the following queries:
EXEC USP_SAMP
EXECUTE USP_SAMP
USP_SAMP
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment