Can a stored procedure call itself(recursive). If yes what
level and can it be controlled.?
Answers were Sorted based on User's Feedback
Answer / madhu
When one stored procedure calls another stored procedure
(SP) you have what is called stored procedure nesting. We
can have recursive stored procedures upto 32 nest levels.
Is This Answer Correct ? | 29 Yes | 2 No |
Answer / lipsa
If a procedure calls itself it is called recursive.
Like if we are calculating the factorial of a number
writing a stored procedure,then there will be recursive
calling of the procedure.
Is This Answer Correct ? | 19 Yes | 3 No |
Why do we need different type of parameter?
What is a Lock and let me know Different types of locks?
What are the different methods available under sqlcommand class to access the data?
What is the maximum size of column in sql server?
What is the simplest way to create a new database in ms sql server?
Which are ddl commands?
How do you set a trace flag in sql server?
How can I create a table from another table without copying any values from the old table?
How to select Distinct columns from the table, table having 20 columns and i want all coulmns
How to rebuild all indexes on a single table?
How can you tell if a database object is invalid?
What is Index ? Explain its Types?