|
Script to find out most CPU bound Queries
9 days ago
by Jugal Shah
Execute below query to get TOP 25 completed queries which have the highest cumulative CPU usage SELECT highest_cpu_queries.plan_handle, (highest_cpu_queries.total_worker_time/highest_cpu_queries.execution_count) AS AverageCPU, highest_cpu_queries.execution_count, highest_cpu_queries.total_worker_tim ...
SQLDBPOOL.COM - sqldbpool.com · 21 references
|
|
How to insert value into IDENTITY column?
9 days ago
by Jugal Shah
If you will try to insert the value into Identity column you will get the one of the below error. Error 1: Msg 544, Level 16, State 1, Line 1 Cannot insert explicit value for identity column in table ‘Employee’ when IDENTITY_INSERT is set to OFF. Error 2: Error 8101 An explicit value for the identit ...
SQLDBPOOL.COM - sqldbpool.com · 21 references
|