SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using T-SQL, the only thing wrong with your code is that you used braces {} instead of parentheses ().
T-SQL
{}
()
PS: Both IDENTITY and PRIMARY KEY imply NOT NULL, so you can omit that if you wish.
IDENTITY
PRIMARY KEY
NOT NULL