-
Find SQL Server/Instance details using SQL query
24 October 2019Scenario Sometimes you need to gather the SQL instance details in a proper format such as Server Name, Instance, Service account name. Today I am sharing a script that will…
-
Login failed for user ‘XXXX’ (Microsoft SQL Server, Error: 18456)
23 October 2019Scenario You often get complained that user is not able to connect to SQL server or Application is not able to connect to SQL for some reason. There might be…
-
Unable to begin a Distributed Transaction
14 October 2019Problem When your application uses the distribution transaction then you may encounter below error. Error: The operation could not be performed because OLE DB provider “SQLNCLI11” for linked server “Linked_Server_Name”…
-
Find the database file growth for all the databases in SQL Server
7 October 2019Introduction Find the database file growth for all the databases. It is not a good practice to keep your database file growth limited. In that case, you may get an…
-
How to get all statistics information for a database in SQL Server
4 October 2019Introduction: Sometimes your query gives you very bad performance because of statistics as SQL database engine Query optimizer uses statistics to create query plans. Updated statistics will give you good…
-
SQL Instance Last restart date and time in SQL Server
29 September 2019Introduction: When your SQL instance was last restarted? I understand it is very simple script but we often forget simple scripts. Hence I thought to write this simple script and…
-
Database restore history in SQL Server
27 September 2019Introduction This script will help you to get the restore history for all the databases. If you need to know the restore history only for a single database then please…
-
Find Physical file location for all the databases in SQL Server
25 September 2019Introduction Very often DBAs need to find the location of the physical file (MDF, LDF & NDF) of a database. Simply we can obtain the output by executing the below…
-
Set Auto growth for all the databases wit T-SQL
24 September 2019Introduction Managing the growth of database files is an essential aspect of maintaining a healthy SQL Server environment. As databases grow over time, it becomes crucial to configure appropriate growth…
Last comments from Soyeluddin Biswas
Thanks Siddhartha for your comment. My intention was to create a login using Command Prompt. I have updated my context.
Thanks Amit, Keep visiting our site and provide comments to improve the quality of post.
Thanks Robert for you visit and feedback. Visit the site when get some moments and suggest for improvements.