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

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -