Click here to Skip to main content
15,886,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can two procedures be called in a single procedure ?
Posted

Yes... Procedures can be called into a Procedure... I Have called seven Procedures into a Procedure...

Example:
SQL
Alter Proc Procedure1 @Param1 Nvarchar(40)
as 
Begin
   Exec Procedure2 'InputParameter'
   Exec Procedure2 @Param1
End
 
Share this answer
 
Comments
Maciej Los 9-Jul-13 3:41am    
Good example!
+5!
Raja Sekhar S 9-Jul-13 3:53am    
Thank you.. Maciej Los...
jitendra kachhi 9-Jul-13 4:00am    
Thanks Raja sekhar s
Raja Sekhar S 9-Jul-13 4:07am    
You are Welcome.... if the answer is helpful... u can accept it as Answer...
jitendra kachhi 9-Jul-13 8:04am    
can we use multiple catch with single try in sql server ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900