create table ImagenesUsuario { idImagen int primary key not null IDENTITY }
This doesn\'t work. How can I do this?
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