Simple and clean method to escape special characters using STRING_ESCAPE system function. STRING_ESCAPE function was introduced in SQL 2016. Here we will see how to use it to escape dome of the special characters.
How to force a .Net application to run as administrator on windows? Here is step by step illustration to force a dot net client server application to run as administrator and the trick to bypass UAC prompt while launching it.
How to copy tables from one database to another database In SQL Server? Here is a quick tip to copy a table along with it’s table structure from one SQL Server database to another database on the same server.
How will you return error message in SQL Server stored procedure? Capturing the exception occurred in a stored procedure and returning the error message to the calling application is important in SQL Server programming. Here is the method to return the error message from a stored procedure.
How to create an unique constraint that allow multiple nulls? Using filtered index you can create unique constraint with multiple nulls. Using this you can store any number for NULL in a unique constraint column
Quick methods to list all foreign keys referencing a table in SQL Server using execution of simple TSQL scripts and SSMS GUI. Ways to identify all the tables referencing a table with foreign key constraint