C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Stored procedure


Posted Date: 01 Apr 2008      Total Responses: 2

Posted By: Mona Rai       Member Level: Silver     Points: 2


I have called a stored procedure through my windows application and i am facing following error
Can anyone tell me the solution

Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)




Responses

Author: vipul    01 Apr 2008Member Level: DiamondRating:     Points: 2
hi,
You use nested stored procedure for your task. SQL allow's only 32 level nested proceudre. so you call nested SP reduse nested SP.


Author: UltimateRengan    29 Jul 2008Member Level: DiamondRating:     Points: 1
A stored procedure is a subroutine available to applications accessing a relational database system. Stored procedures (sometimes called a sproc or SP) are actually stored in the database data dictionary.

Typical uses for stored procedures include data validation (integrated into the database) or access control mechanisms. Furthermore, stored procedures are used to consolidate and centralize logic that was originally implemented in applications. Large or complex processing that might require the execution of several SQL statements is moved into stored procedures and all applications call the procedures only.

Stored procedures are similar to user-defined functions (UDFs). The major difference is that UDFs can be used like any other expression within SQL statements, whereas stored procedures must be invoked using the CALL statement[citation needed]

CALL procedure(…)
Stored procedures can return result sets, i.e. the results of a SELECT statement. Such result sets can be processed using cursors by other stored procedures by associating a result set locator, or by applications. Stored procedures may also contain declared variables for processing data and cursors that allow it to loop through multiple rows in a table. The standard Structured Query Language provides IF, WHILE, LOOP, REPEAT, CASE statements, and more. Stored procedures can receive variables, return results or modify variables and return them, depending on how and where the variable is declared.



http://en.wikipedia.org/wiki/Stored_procedure


Post Reply
You must Sign In to post a response.
Next : work with files in C#.net
Previous : How to get the name of the form in vb.net am usign dotnet2003. its urget.
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use