Everything you Need to know about WordPress Hosting

When I decided to move forward with creating this website, I decided early on that I didn't want to repeat the mistakes of the past by re-inventing the wheel, going through all the trouble of either developing a content management system from something downloaded on SourceForge or some other open source repository, just for the … Continue reading Everything you Need to know about WordPress Hosting

Obtain an Exclusive Lock to Rename a SQL Server Database

Tested on: SQL Server 2016 Developer Edition Accurate as of: January, 2018Use this script to rename a database when the SQL Server database could not be exclusively locked to perform the operation. [code language="sql"] -- First, set the database to single user mode ALTER DATABASE CodeSnippets SET SINGLE_USER WITH ROLLBACK IMMEDIATE -- Now we will … Continue reading Obtain an Exclusive Lock to Rename a SQL Server Database

SQL Server Admin: Identifying Active Transactions

Tested on: SQL Server 2016 Developer Edition Accurate as of: January, 2018One way to identify active tractions, is using DBCC OPENTRAN. DBCC OPENTRAN helps to identify active transactions that may be preventing log truncation. DBCC OPENTRAN displays information about the oldest active transaction and the oldest distributed and nondistributed replicated transactions, if any, within the … Continue reading SQL Server Admin: Identifying Active Transactions