oracle总结(二)

1.主键,唯一约束都和mysql一样

2.查看所有用户

select username from dba_users 

修改用户密码

alter user 用户名 identified by 密码;

登录用户

connect xx/xx;

3.查看键

select constraint_name,constraint_type,status from user_constraints where table_name='表名';

猜你喜欢

转载自blog.csdn.net/weixin_38336658/article/details/80629569