BUG: CREATE TABLE Trailing Comma Not Treated as Syntax ErrorLast reviewed: April 10, 1997Article ID: Q161592 |
The information in this article applies to:
16389 (6.5) SYMPTOMSIf the column list in a CREATE TABLE command is terminated with a comma, as in the following statement:
create table CommaTab (cola int, colb char(8),)SQL Server does not flag this as a syntax error.
WORKAROUNDTo work around this problem, correct the CREATE TABLE command.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |