Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?
Answer / Anand Kumar Tiwari
{"recursion": "A stored procedure can call itself in a process known as recursion. Recursive procedures can be useful for handling tasks that require repeated subtasks, such as calculating factorials or generating tree structures.",n"levels of nesting": "The maximum number of levels of nested stored procedures in SQL Server is 32. However, Microsoft recommends keeping the number of nested stored procedure levels to a minimum to avoid potential performance issues and to maintain manageability".}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is read uncmmited?
What does man by sql wildcard characters in sql server?
How to update values in a table with update statements in ms sql server?
Explain different types of collation sensitivity?
How important do you consider cursors or while loops for a transactional database?
What is xml datatype?
How to retrieve data from log files in SQL SERVER ?????
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
Can primary key be null?
Explain about Views?
How to find index size for each index on table?
How to create prepared statements using odbc_prepare()?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)