ALTER TABLE, add column with COLLATE does not work.
Dave Pendleton
Posts: 104 Bronze 3
in SQL Prompt
I am adding a column to an existing table, with a collation clause. SQL Prompt formats the collation with square brackets which then causes a syntax error:
ALTER TABLE [dbo].[MyTable] ADD [MyColumn] [nvarchar] (80) COLLATE [Latin1_General_CS_AS] NULL;<br>Note the brackets around Latin1_General_CS_AS, this is incorrect.
Tagged:
Best Answer
-
TomW Posts: 108 Gold 1Hi @Dave Pendleton
This bug has been fixed in SQL Prompt 10.0.1. We're sorry for the inconvenience caused.
Please let us know if you find any other issues.
Best,
Tom
Team PromptSoftware Engineer for SQL Prompt
Redgate Software
Answers