Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Insert stored procedure output to a table and add datetimestamp

$
0
0
Hi All,I have a need to insert stored procedure output a table and in addition to that add a datetimestamp column.. For example, Below is the process to get sp_who output into Table_Test table. But I want to add one additional column in Table_test table with datetimestamp when the procedure was executed.insert into Table_Test execute sp_whoany help will be highly appreciated.Thanks.

Viewing all articles
Browse latest Browse all 3145

Trending Articles