HKN MZSql Server : Connections / SessionsIn SQL Server, connections and sessions are fundamental concepts that play a crucial role in how clients interact with the database server…May 21May 21
HKN MZSql Server StatisticsSQL Server statistics help the query optimizer generate efficient execution plans, improving query performance by making better decisions…Apr 30Apr 30
HKN MZHow much is left until the Identity Column reaches its Max Value?This code provides insight into the current values of identity columns in the database and calculates the percentage of their usage…Apr 30Apr 30
HKN MZSql Server Indexes All NotesIndexes in SQL Server are data structures that improve the speed of data retrieval operations on tables by providing quick access paths to…Apr 15Apr 15
HKN MZinPython in Plain EnglishSQL Server BlockingSQL Server blocking occurs when one transaction or process holds a lock on a resource (like a table or a row) and another transaction or…Dec 28, 2023Dec 28, 2023
HKN MZSql Server CPU ControlThis SQL query retrieves information about the top 10 currently executing sessions along with details about their associated queries. It…Dec 27, 2023Dec 27, 2023
HKN MZSql Server : MemoryThis SQL query retrieves information about the system memory on a SQL Server instance using the sys.dm_os_sys_memory dynamic management…Dec 26, 2023Dec 26, 2023
HKN MZinTowards DevSql Server Backup ControlThis SQL query retrieves information about database backups from the msdb database, using a Common Table Expression (CTE) named CTE_Backup…Dec 25, 2023Dec 25, 2023
HKN MZinTowards DevSql Server Jobs ControlThis SQL query retrieves information about SQL Server Agent jobs, including details about the job, its schedule, and the recent execution…Dec 24, 2023Dec 24, 2023
HKN MZinTowards DevSql Server Disk ControlThis SQL query is designed to generate a report focused on the physical locations of files in a SQL Server database and the disk usage…Dec 24, 2023Dec 24, 2023