SQL Server 2016: Use STRING_ESCAPE to escape single quotes, double quotes, forward slashes

SQL Server 2016 introduced STRING_ESCAPE() to escape the characters like single quotes, double quotes, forward slashes. SQL Server 2016: Introduced JSON support, to store and retrieve JSON document Please check the below examples: Example without STRING_ESCAPE: Check the below example where I added single quotes, double quotes, forward slashes in the JSON string which is … Continue reading SQL Server 2016: Use STRING_ESCAPE to escape single quotes, double quotes, forward slashes