Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to create Jobs using stored procedure?

$
0
0

Hi All,

         I am in somewhat stuck, I am doing migration of DB, i want to move the Jobs  of my server to client server

i want to create one stored procedure through which ill write script for the creating job but to create job we need to change the database MSDB and "use database" option not allowed in stored procedure is there any way that i can create jobs  by using  stored procedure 

please help for this 


Regards,

Niraj Sevalkar



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>