Single quotes not working
Dave Pendleton
Posts: 104 Bronze 3
When I type the following SQL, everything works fine until the last single quote, consider this:
SQL Prompt Version is 9.4.0.6807
SELECT * FROM [sys].[dm_xe_objects] AS [DXO] WHERE [DXO].[object_type] = N''As I'm typing, the single quote is automatically closed and the cursor is sitting between the single quotes after the "N". If I type another single quote to advance the cursor, I get this:
SELECT * FROM [sys].[dm_xe_objects] AS [DXO] WHERE [DXO].[object_type] = N'event'';Where the cursor is left sitting between the last two single quotes after the word, "event."
SQL Prompt Version is 9.4.0.6807
Tagged:
Answers
Can you restore the default options and try again?(SQL Prompt->Options->Restore all defaults. If you have customized options you'd like to keep, please Export it and save the file somewhere for importing when needed).
If it doesn't help, what's your SSMS version and can you make sure the native intellisense is turned off?
Tianjiao Li | Redgate Software
Have you visited our Help Center?