Script to Check log reuse wait type in sql serverKunal RanpuraJan 12, 20201 min read --Find log_reuse_wait_desc wait type for the database: DB_Nameselect log_reuse_wait_desc from sys.databases where name='DB_Name'
SQL Server Find Missing Index using Query Store--Query to find missing index from query store, from last 30days usage SELECT TOP 20 qsq.query_id, SUM(qrs.count_executions) *...
SQL Server Profiler Trace--Import multiple trace file in sql Table. --All the rollover files will be automatically imported --provide number tracefile to capture...
SQL Replication Mark Transaction as commit--SQL Server Database log full due to replication, you can run the following command to mark all ---the replication transaction is done,...
Comments