Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: Capturing results of sp_job_help

    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 ) -...

  • RE: Capturing results of sp_job_help

    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...

Viewing 2 posts - 1 through 3 (of 3 total)