Tag Archives: T-SQL Scripts

SP_SPACEUSED is giving wrong counts

SP_SPACEUSED is giving wrong counts !!! SP_SPACEUSED: is a system stored procedure and used to capture number of rows, total size, data and index size information. Sometimes SP_SPACEUSED may give incorrect information or SP_SPACEUSED  give wrong counts. Below are some … Continue reading

Posted in SQL Development | Tagged , , , , , , , , | 1 Comment

How to Encrypt and Decrypt String in Sql Server

How to Encrypt and Decrypt String in Sql Server I recently got a request to obfuscate data at Dev environment.  Most of the times these kind of requests come in environments where dealing with sensitive data. We usually do dev … Continue reading

Posted in SQL Development, SQL Server DBA | Tagged , , , , , | Leave a comment

SQL Server database mirroring with screenshots

   SQL Server Database Mirroring With Screenshots   Introduction: This post takes you through SQL Server Database Mirroring with screenshots in both the ways using T-SQL script and management studio. Also you will learn components involved in SQL Server database … Continue reading

Posted in High Availability, SQL Server DBA | Tagged , , , , , , , , , | 14 Comments