Stored Procedures and User Defined Functions |
What is the maximum number of parameters supported by a stored procedure or user defined function? 2100 for both |
In how many ways a stored procedure can return results? · Output parameters, which can return either data (such as an integer or character value) or a cursor variable (cursors are result sets that can be retrieved one row at a time). · Return codes, which are always an integer value. · A result set for each SELECT statement contained in the stored procedure or any other stored procedures called by the stored procedure. · A global cursor that can be referenced outside the stored procedure. |
Suppose a stored procedure declares a local temp table #temp. If it calls another stored procedure, will the #temp available to nested proc ? YES. |
Monday, July 4, 2011
Stored Procedures and User Defined Functions
Subscribe to:
Post Comments (Atom)
DOCKER ARG instruction as opposed to ENV instruction
In Docker, ARG and ENV are used to define environment variables. The ARG instruction defines variables that users can pass to the builder ...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
CONCLUSION : 1. Normally, use following two when you do not want query compilation also to come into picture. CHECKPOINT DBCC DROPCLEA...
-
Most of the google tutorials on keras do not show how to display a confusion matrix for the solution. A confusion matrix can throw a clear l...
No comments:
Post a Comment