There are times you want to kill all the connections in a database. This would do that trick.
This can be very useful when you replace a database regularly and some connections still exist so your automated restore fails. You can issue this command to kill all the connections before issuing a restore command.
SQL Server Database Backup and Restore with Windows Azure Blob Storage Cloud Services using T-SQL Commands
SQL Server 2012 introduces a new feature to issues backups on the Windows Azure Blob Storage service directly and restore from there when needed. But how does it work and how to get started using T-SQL commands for backup and restore operation?
2013-12-09
3,325 reads