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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-12-06 : 08:30:02
|
| Taru writes "how to execute a stored procedure using another stored procedure?" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2004-12-06 : 08:31:38
|
The, uh, EXECUTE statement would work:CREATE PROCEDURE proc1 ASSELECT getdate()GOCREATE PROCEDURE proc2 ASEXECUTE proc1GOI love self-answering posts. |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-12-06 : 08:33:38
|
create sp2asexec sp1goGo with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|