Hello forum, I have a SQL server 2008 R2 database that was upgraded to 2012, a stored procedure that worked well on 2008 R2 now does not work on 2012
select*from OPENROWSET('SQLOLEDB','Server=CBD-4DP-SPQA4;TRUSTED_CONNECTION=YES;',
'set fmtonly off; exec msdb.dbo.sp_start_job ''7AC9C34E-92D4-406C-9336-558760BC90BB''')
Results in
Msg 11520, Level 16, State 1, Procedure sp_describe_first_result_set, Line 1
The metadata could not be determined because statement 'EXECUTE master.dbo.xp_sqlagent_is_starting @retval OUTPUT' in procedure 'sp_is_sqlagent_starting' invokes an extended stored procedure.
Thanks and regards.