Send job results to sql table -
ok newb question here:
i trying create query job log query table.
select login_name, total_elapsed_time, total_elapsed_time sys.dm_exec_sessions
when use creates new table. want create new record in existing table query_results.
use insert select
this
insert query_results(login_name, total_elapsed_time, total_elapsed_time) select login_name, total_elapsed_time, total_elapsed_time sys.dm_exec_sessions
Comments
Post a Comment