Mega Code Archive

 
Categories / MSSQL / Database
 

Quoted identifier - True ensure only single quotes are allowed when using this database

1> 2> -- quoted identifier - 'True' ensure only single quotes are allowed when using this database. 3> 4> --By setting this to OFF, you can delimit a string by either a single quote or a double quote. 5> 6> CREATE DATABASE myDatabase; 7> 8> EXEC sp_dboption 'myDatabase', 'quoted identifier', 'True' 9> GO 1> 2> Drop database myDatabase 3> GO