Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
gundavarapu
Starting Member
8 Posts |
Posted - 2003-08-04 : 01:34:07
|
| Hi,How can we invoke a Stored Proc from another stored proc.like..Alter Procedure sp1begin -- i want to call the sp2 here -- is it like -- sp2 "1","2" -- or something differentendThanksRegards,Sidhu |
|
|
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
Posted - 2003-08-04 : 02:06:05
|
| Use "Exec"I.E.BEGINExec sp2 1, 2ENDDamian |
 |
|
|
gundavarapu
Starting Member
8 Posts |
Posted - 2003-08-04 : 02:32:33
|
quote: Originally posted by Merkin Use "Exec"I.E.BEGINExec sp2 1, 2ENDDamian
Thanks, it was such simple :)Regards,Sidhu |
 |
|
|
|
|
|