I'm trying to create a new table with two columns, the first being a unique auto-incrementing identifier and primary key, the other being a string.create table questions(ID int primary key identity, string VARCHAR(100))
gives the following error message:Error code 30000, SQL state 42X01: Syntax error: Encountered "identity" at line 1, column 44.Line 1, column 1Execution finished after 0 s, 1 error(s) occurred.
Removing the word "identity" removes the problem:Executed successfully in 0.035 s, 0 rows affected.Line 1, column 1Execution finished after 0.035 s, 0 error(s) occurred.
Am I using the keyword "identity" correctly?Thanks.