Hi experts,
I need to write a sql code to create a job and a stored procedure in it
The job should execute a stored pocedure(#1), which would check if a .xls file with name that starts with 'xyz' exists in a share.
If the file exists, then the job should excute a second stored proc, if not the job should exit without executing the second stored proc. And send an email to a corporate alias.
I know to create a job from SQL Sever management Studio UI, i am not aware of how to code for it.
Any sort of help atleast for creating the stored procedure would be highly appreciated.
Thanks,
Alicia
Start Free Trial