Nested Stored Procs

Results 1 to 2 of 2

Thread: Nested Stored Procs

  1. #1
    Elliot Guest

    Default Nested Stored Procs

    Is it possible to execute a stored proc within a stored proc on SQL? If so, how?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Nested Stored Procs

    what do you mean "If so, how? "<BR><BR>create proc procname<BR>(<BR>@whatever int<BR>)<BR>as<BR>begin<BR>select * from table name where id = @whatever <BR>exec anotherproc @whatever <BR>end<BR><BR>the sp procname will also execute anotherproc<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts