Thursday, 14 June 2012

To Kill the Database transaction using the query


//Below query for getting system process id in the master database
select  kpid,* from sysprocesses where dbid=DB_ID('Training')


//Based on the process id we can kill the process of Database
kill kpid[processId] eg:- kill 53


No comments:

Post a Comment