Category Archives: SQL Development

Script all Primary Keys, Foreign Keys in a SQL Server using T-SQL

Script all Primary Keys, Foreign Keys in a SQL Server using T-SQL Find the relationships between tables in sql server Get Primary Key and Foreign Key details using T-SQL   How to find all related tables of a given table? … Continue reading

Posted in SQL Development, SQL Scripts | Tagged , , , , , , | Leave a 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

Case Sensitive Search in sql query

Case Sensitive Search in sql query Case Sensitive Query Search – SQL Server I have got a request to write a select query to get data by matching a column with case sensitive and I should not suppose to use … Continue reading

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