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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract second dataset from stored proc within stored proc

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Hi there.
Here is something to work with... :)

Is there a way to extract the last dataset from sp_spaceused within a stored procedude...

Why do I have to do this you may ask...
Well, the system I've done (In delphi) does not support the use of multiple datasets.

KungTure-RX.jpg

//Nordlund
 
Like MSSQL version of getting a stored procedure's dataset into a temptable perhaps:

Code:
create table #W1 (UserName varchar(50) NULL, 
                  LongName varchar(50) NULL) 


INSERT INTO #W1(UserName, LongName) exec sp_GetUser


KungTure-RX.jpg

//Nordlund
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top