SQL Server

How to know Database Version or Build no from a Backup File?

Generally we don't need this info for user database but when you have to recover or restore master database then…

How to Recover or Repair Suspect Database in SQL Server

Suspect database in SQL Server is not very common issue but there are times we face it because of various…

Error 14258: Cannot perform this operation while SQL Server Agent is starting. Try again later

 I saw SQL Server error 14258 today while i was diagnosing my log shipping issue in which primary and standby…

How to Disable AutoCommit in SQL Server?

Autocommit mode is the default transaction management mode of the SQL Server Database Engine. Every Transact-SQL statement is committed or…

How to get Last Restore Time of your database?

Database Backup and restores are common task for any database administrator.  We generally do lot of restore operations to fulfill…

How to find Total no of Traces Running on your Database Instance?

Suppose you want to find out how many traces are running on your SQL Server database instance? If you don't…

Error Msg 1813, Level 16, State 2, Line 1, Could not open new database ‘yourdatabasename’. CREATE DATABASE is aborted.

The error 1813 comes when corrupt transaction log are attempted to attach to new server. Error details are given below:…

How to Move Table to Another Filegroup?

Suppose we had a database that has grown very large in size and located on the D drive that had…

Understanding Point in Time Recovery in SQL Server

Point In Time recovery is a process to recover or restore your database till the point it was lost. Sometimes…