Reputation: 9225
I have an existing SQL table and I am trying to add two more columns like this:
ALTER TABLE DSPCONTENT01.dbo.RADRESULTSTOTALS2
ADD ([TEST1] INT,
[TEST2] INT);
I get the following error:
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '('.
How do I resolve it?
Upvotes: 2
Views: 69
Reputation: 10478
Don't use parentheses.
ALTER TABLE DSPCONTENT01.dbo.RADRESULTSTOTALS2
ADD
[TEST1] INT,
[TEST2] INT
Upvotes: 3