- 博客(3)
- 收藏
- 关注
转载 怎样查外键建在哪个表上,查看约束【转载】
有时候删除某张表记录的时候,会报错外键约束不能删除。如果不了解表之间的关系,可以通过以下语句查询到外键是建在哪张表上的:select * from dba_constraints where constraint_name='xxx' and constraint_type = 'R';例如:执行delete from t_bme_task;时报错:ORA-0229
2017-06-06 09:32:45
1109
转载 oracle允许所有用户访问一个用户的表的方法
SQL> create user zl identified by zl;用户已创建。SQL> alter user zl quota unlimited on system;用户已更改。SQL> grant create table to zl;授权成功。SQL> grant connect to zl;授权成功
2017-06-04 19:30:13
765
转载 oracle对表空间 USERS 无权限(转载)
权限赋予即可:alter user 用户名 quota unlimited on users;下面是我SQLPLUS实现users权限的赋予:SQL> connect daqing/thinking已连接。SQL> create table stud(name nvarchar2(10),age integer);create table stud(name nvarc
2017-06-04 18:56:33
3215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人