Hi all,
I'm new to MS-SQL (coming from the oracle world) so apologies for my (probably) obvious-noob question ;)
I've created a job that starts a snap-shot restore. This job gets triggered by a tsql script:
msdb.dbo.sp_start_job 'restore_snap';
This works fine, beside the sp_start_job will just fire-up the job ... and that's it ! It will not wait for its execution to finish or will output any errors that may occur during the restore ...
Not really nice, but ok ...
So I wrote another query that "monitors" the progress of the restore:
SELECT s