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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 exec stored procedure

Author  Topic 

acdacd
Yak Posting Veteran

63 Posts

Posted - 2005-08-24 : 10:32:06
I have write a stored procedure, say OldStoredProc, which return following result. (just select ColA, ColB from Y where.....)
TableA
ColA ColB
1.......2
2.......4
3.......8

It is possible to catch the result of this stored proc when i write other stored procedure, say NewProc. Eg exec storedProcA or sth like this.

If it work, how to do ?
If it didnt work, any solution?
(I have think that i can create at temp table and put the result in it, then get by new stored procedure)

be a hardworking people!!

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-08-24 : 10:38:46
>>(I have think that i can create at temp table and put the result in it, then get by new stored procedure)

I think so

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -