Why cant i use the field user in SQL Server 8?

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-05-18T06:41:54Z Indexed on 2010/05/18 6:51 UTC
Read the original article Hit count: 117

Filed under:
|
|

Maybe not literally but the query below gets an error near user. If i change it to userZ it works. WHY can i not use that name? Is there a way to specific its a field instead of a keyword? (or whatever it is)

create table Post2 (
id INTEGER PRIMARY KEY NOT NULL,
title nvarchar(max)
 NOT NULL,
body nvarchar(max)
 NOT NULL,
user integer REFERENCES Post1(id));

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2008