我在oracle 数据库中要创建一个表,创建的语句在下边,创建不成功,不知道哪的错误了,谁能帮我看看呢!谢谢create table t_News_User
(
userid int identity (1,1) primary key,
username varchar(100) unique,
userpassword varchar(50),
realname varchar(100)
)
;提示语句:
userid int identity (1,1) primary key,
*
第 3 行出现错误:
ORA-00907: 缺失右括号
(
userid int identity (1,1) primary key,
username varchar(100) unique,
userpassword varchar(50),
realname varchar(100)
)
;提示语句:
userid int identity (1,1) primary key,
*
第 3 行出现错误:
ORA-00907: 缺失右括号
在oracle里面没有,用序列吧