Hi,
When trying to format the following code, I get the incorrect syntax error.
CREATE TABLE dbo.test (desc VARCHAR(128))
I'm assuming formatting fails when it finds a SQL keyword in such case.
Version : 9.5.21.11921
Thank you
Comments
5 comments
-
Good Afternoon!Can you send me a screenshot of the particular error message that you get? Can you also send me a screenshot of your options under Format>Styles?
Thanks!
-
Sure
-
Thanks for sending me that screenshot.I was able to replicate the issue on my test machine. I'm gonna check on my end to see why this might be the case and get back to you.
-
Good Afternoon!Out of curiosity, if you try surrounding [DESC] with square brackets, does the issue go away?
-
Good afternoon!Yes, the formatting works when I surround sql-keyword-like field names and press ctrl + K, ctrl + Y.
Add comment
Please sign in to leave a comment.