Viewing 2 posts - 1 through 3 (of 3 total)
Gong! The OPENROWSET solution isn't working. Thought I saw it work but more tests show a SQLOLEDB error about object has no columns. Puzzling.
btw, I clipped the last ) -...
April 10, 2002 at 3:23 pm
#426986
Yes, that would work. I found another idea using OPENROWSET:
insert into #jobtbl (<<many columns>>) from
(select a.* from OPENROWSET('SQLOLEDB','USER';'PW','exec msdb..sp_help_job') as a
This appears to work but I'm not pleased with...
April 10, 2002 at 2:15 pm
#426985