Viewing 5 posts - 1 through 5 (of 5 total)
Scott,
Thank u very much - it did work:)
Alex
Alex,
If I'm understanding you right, you want the final output to be in column order from the original stored procedure.
To do that, simply...
November 20, 2002 at 3:04 am
THANX, I'm still havin' some troubles with this sp. At the moment I have the query that gets the result from another stored procedure (DRFExportOMC) and outputs all the column...
November 20, 2002 at 1:51 am
Tnanx for the reply, it did work. ... but now I'm coming up with the following error:
**************************************
USE ct10002G
GO
select distinct * into #tempalex
FROM OPENROWSET('SQLOLEDB','N1244';'sa';'','exec CT10002G.dbo.DRFExportOMC @i_AltId = "0", @i_NelId =...
November 19, 2002 at 3:20 am
Hi Greg,
I've run into the same problem and when applying your solution I get an error message. Could u please take a look at it and give me a hint...
November 19, 2002 at 2:38 am
quote:
Here is something I think might work for you:select * into #tmptest
FROM OPENROWSET('SQLOLEDB','<yourserver>';'<user>';'<password>',
'exec sp_who ') AS a
select column_name from tempdb.information_schema.columns where table_name...
November 19, 2002 at 2:36 am
Viewing 5 posts - 1 through 5 (of 5 total)