Author: Manvendra Deo Singh

0

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 rolled back when it completes. If a statement completes successfully, it is committed; if it encounters any error, it is...

0

Fix: Msg 7321, Level 16, State 2, Line 1 An error occurred while preparing a query for execution against OLE DB provider ‘ADsDSOObject’. OLE DB error trace [OLE/DB Provider ‘ADsDSOObject’ ICommandPrepare::Prepare returned 0x80040e14].

Whenever you get the issue “Msg 7321” make sure your security context is correctly supplied. Otherwise you will get below error. Msg 7321, Level 16, State 2, Line 1 An error occurred while preparing a query for execution against OLE...

How to Kill all sql server process 1

How to Kill all sql server process

Sometimes we need to kill all sql server transactions to perform any task.If you have to do this pls follow any one of the given steps. 1-Through management studio,when you will try to detach the db there is a option...

Error 14151:Replication Agent failed to start. 0

Error 14151:Replication Agent failed to start.

I got below error 14151 for one of my SQL Server Replication Agent. The SQL Server Replication Agent may not start and will throw error message: The replication agent is not registered properly. Rerun SQL Server setup. The step failed. [SQLSTATE...

Move all DTS Packages between servers. 0

Move all DTS Packages between servers.

We can move all DTS packages from one server to another server through given two methods:Method1: If you save your dts packages under local packages, they are stored in the msdb.dbo.sysdtspackages table.1) create a new dts package with connections to...

Database is in transition 0

Database is in transition

This issue comes when you tried to make your database offline and during this process you run the cmd sp_who2.There are some transactions in process and you try to make database offline, then you will have to sit with patience...