In a stored procedure 4 select stmts there.If error comes in
one select stmt will remaining normally executes?
Answers were Sorted based on User's Feedback
Answer / rajesh
Hi Guys
If any sql statements throws an error in the stored
procedure it just ignore the error and the control is passed
to the next statement,But in the case of function if any sql
statements throws any error it won't executes.
Ans:yes
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / gopinath
Stored Procedure compiled Successfully.
when passing parameters to the stored procedure and executed
it shows the actual error.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kanan
@rajesh
when you write answer , first check practically.
The Answer is NO
the reaming statements does not executes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venkatesh
@Kanan. Yes it ll execute. It is based on the sp.
For Example In that SP first two table have no error and the third table have error means ,
It ll give the First two tables results set then 3rd one ll show error,but it ll not show the 4th table results
| Is This Answer Correct ? | 0 Yes | 0 No |
How can I get around scope problems in a try/catch?
Define an escape sequence, name few strings in escape sequence?
can any one send the project manager questions in .net
What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?
What?s class SortedList underneath?
What is the difference between dynamic and var in c#?
What are delegates?
In gridview in editmode if we want to display information in one combobox based on
What are partial types in c#?
In a single .NET DLL how many classes it contains?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
Can you create partial delegates and enumerations?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)