dbTalk Databases Forums  

Executing a stored procedure from within another stored procedure.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Executing a stored procedure from within another stored procedure. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lee Swanson
 
Posts: n/a

Default Executing a stored procedure from within another stored procedure. - 01-18-2004 , 07:19 AM






This is probably a really simple problem, but here goes:

I have a stored procedure. Within this stored procedure I am executing
another stored procedure for the purpose of retrieving data from 2 output
variables. The trouble is, it also returns a resultset which I would like to
ignore as I wish to return one from the parent SP.

is there a way to exec a stored procedure and ignore its result set?

Thanks
Lee



Reply With Quote
  #2  
Old   
Lee Swanson
 
Posts: n/a

Default Re: Executing a stored procedure from within another stored procedure. - 01-18-2004 , 07:24 AM






Sorry, I posted to the wrong forum by mistake.

I have posted my question to microsoft.public.sqlserver.programming

please reply there.

Lee.

"Lee Swanson" <lee (AT) lessspam (DOT) ibc.com.au> wrote

Quote:
This is probably a really simple problem, but here goes:

I have a stored procedure. Within this stored procedure I am executing
another stored procedure for the purpose of retrieving data from 2 output
variables. The trouble is, it also returns a resultset which I would like
to
ignore as I wish to return one from the parent SP.

is there a way to exec a stored procedure and ignore its result set?

Thanks
Lee





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.