2 min read 0 MSSQL TSQL to find list of all index not used for last 30 days OTI 16 May 2023 This code is designed to provide information about the indexes in the database, including their creation dates, last usage dates,…
3 min read 1 MSSQL Use ProcDump to capture sql server unexpected crash dump OTI 11 May 2023 To use ProcDump to capture a SQL Server unexpected crash dump, follow these steps: Download and extract ProcDump: Navigate to…
2 min read 0 MSSQL SQL Server (MSSQLSERVER) service terminated unexpectedly OTI 11 May 2023 One day, we suddenly discovered that the SQL Server was not running and was in a stopped state. In a…
2 min read 1 MSSQL TSQL to find index fragmentation in SQL Server OTI 10 May 2023 To determine index fragmentation in SQL Server, you can use the following steps: SELECT OBJECT_NAME(DMV.object_id) AS TABLE_NAME , SI.NAME AS…
3 min read 0 MSSQL SQL Server DBA Daily Routine Tasks OTI 8 May 2023 As a SQL DBA, there are various essential tasks to perform every day to ensure the smooth operation and security…
13 min read 0 MSSQL All About DBCC and DMV Interview Question OTI 8 May 2023 What is the use of DBCC commands? DBCC stands for Database Console Commands, a few of us also call it database consistency…
6 min read 0 MSSQL List all Login, User & DB Role in SQL Server OTI 11 April 2023 Description This script generates a list of Logins, Users and the Database Roles that the user belongs to in all…
3 min read 0 MSSQL How to check database encryption in sql server OTI 3 April 2023 Introduction Data security is a critical aspect of database management, and encrypting sensitive data is crucial to safeguarding it from…
1 min read 0 MSSQL Find the users connected to SQL Server OTI 28 March 2023 In a SQL Server environment, it can be useful to monitor the user activity and track who is connected to…
4 min read 0 MSSQL Check SQL Server Version & license details OTI 12 March 2023 As a SQL Server DBA, I would rephrase the statement as follows: While SQL Server does not keep track of…