can i write function in stored procedure and stored
procedure in function and nested procedure.Give one example
for each question?
Answer / dba
You cannot define stored procedures (SP) or user-define
functions (UDF) in a nested fashion. However, you can
execute SPs and UDFs inside of stored procedures. The
nesting is limited to 32 levels deep (A calls B, which calls
C, etc). So if a recursive call is used (A calls A), you
must have some method of stopping before 32 levels is exceeded.
You can call SPs and UDFs from inside of a UDF, but this
ability is quite limited. If a SP has any side effect, it
cannot be called. So, the SP cannot be used to return any
values to the function.
| Is This Answer Correct ? | 3 Yes | 1 No |
what changed between the previous version of sql server and the current version? : Sql server database administration
How to find out name of all employees who has salary less than 200 Rs.?
Can you tell me about the concept of ER diagrams?
What is clr ddl trigger?
How to list all dsn entries on your local machine using odbc_data_source()?
Can you change the data type of a column in a table after the table has been created? If so, which command would you use?
let's assume you have data that resides on sql server 6.5. You have to move it sql server 7.0. How are you going to do it? : Sql server database administration
hi. suppose one person goal is strong knowledge on SQL.... suggest me ...if he learns SQL SERVER or ORACLE? which is best?
7 Answers Google, TCS, Unisys,
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
Explain basic SQL queries with SELECT from where Order By, Group By-Having?
How to know whether our backup is succesfully taken?
Can a table be created inside a trigger?
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)