小编Anu*_*Anu的帖子

单列上的多重约束

我们可以在单个列上添加多个约束吗?

喜欢-

create table x(x varchar2(20), y number(2) not null,
constraint fk_cons foreign key(x) references user_info(user_id),
constraint null_cons not null(x)
)
Run Code Online (Sandbox Code Playgroud)

此查询返回错误 ora-00904: invalid identifier....

sql oracle10g

4
推荐指数
1
解决办法
3万
查看次数

标签 统计

oracle10g ×1

sql ×1