Re: calling one stored procedure from another
From: AFN (DELETEnewsgroupCAPSaccount_at_yahoo.com)
Date: 08/26/04
- Next message: Mike Labosh: "Re: nvarchar vs. varchar"
- Previous message: Robert Taylor: "Re: DMAX equivalent"
- In reply to: Scott Morris: "Re: calling one stored procedure from another"
- Next in thread: Tibor Karaszi: "Re: calling one stored procedure from another"
- Reply: Tibor Karaszi: "Re: calling one stored procedure from another"
- Reply: Scott Morris: "Re: calling one stored procedure from another"
- Reply: Aaron [SQL Server MVP]: "Re: calling one stored procedure from another"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 20:15:12 GMT
thank you, but how do I "execute the stored procedure with the local
variables"? I don't know how to call a SP from another SP.
"
"Scott Morris" <bogus@bogus.com> wrote in message
news:OcNB1S6iEHA.704@TK2MSFTNGP12.phx.gbl...
> <snip>
> There is an example of using a cursor in BOL under "declare cursor". Just
> define a cursor with a select statement that selects the appropriate
> columns, fetch them into local variables, and then execute the stored
> procedure with the local variables.
>
> You can also search this NG for numerous examples of cursors - both good
and
> bad.
>
>
- Next message: Mike Labosh: "Re: nvarchar vs. varchar"
- Previous message: Robert Taylor: "Re: DMAX equivalent"
- In reply to: Scott Morris: "Re: calling one stored procedure from another"
- Next in thread: Tibor Karaszi: "Re: calling one stored procedure from another"
- Reply: Tibor Karaszi: "Re: calling one stored procedure from another"
- Reply: Scott Morris: "Re: calling one stored procedure from another"
- Reply: Aaron [SQL Server MVP]: "Re: calling one stored procedure from another"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|