I'm setting up an SQL job that I want to email me.
Let's say step one is to run
select * from orders
Can step 2 be to email me the results of that select statement? Failing that, can I put the code to do this into the sql of step 1?
I'd like to avoid a stored procedure if I can.
SQL 2008
Let's say step one is to run
select * from orders
Can step 2 be to email me the results of that select statement? Failing that, can I put the code to do this into the sql of step 1?
I'd like to avoid a stored procedure if I can.
SQL 2008