SQL80001: Incorrect syntax near ')'
<p>I have seen a lot similar questions like this on Stackoverflow that has been closed, but I hope that there is a solution to my question.</p>

<p>My T-SQL code is following:</p>

<pre><code>CREATE TABLE [dbo].AccountItem
(
    [Id] INT NOT NULL PRIMARY KEY IDENTITY, 
    [AccountId] INT NOT NULL, 
    [ItemId] INT NULL, 
    CONSTRAINT [AccountFK] FOREIGN KEY (AccountId) REFERENCES Accounts(Id), 
    CONSTRAINT [ItemFK] FOREIGN KEY (ItemId) REFERENCES Item(Id)
)
</code></pre>

<p>And my error(s):</p>

<pre><code>Error   2   SQL46010: Incorrect syntax near ).  dbo.Table   3   1   
Error   1   SQL80001: Incorrect syntax near ')'.    dbo.Table   3   1   
</code></pre>

<p>I've seen on other's threads where it says "Change the 'Target Platform'" but I can't find that section in my project properties.</p>

<p>I have VS2013 for Windows Desktop.</p>

<p>Thanks in advance!</p>