Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to have one stored procedure call another stored procedure

Status
Not open for further replies.

vamoose

Programmer
Joined
Oct 16, 2005
Messages
320
Location
MX
I am thinking of executing a "Master" stored procedure and executing several select statements to determine what equipment is attached to my production line. Based on the values of this first "Master" stored procedure which are now stored in several @variables, can I execute another stored procedure and pass on these @variables to this second stored procedure and so on ? Curious if this is possible and if so how it might work. Thanks
 
Of course it will works.

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top