代码拉取完成,页面将自动刷新
{
PLSQL连接遇到错误:error while trying to retrieve ora-12705
打开PL/SQL软件,选择Preference,
找到左侧的Oracle->Connection菜单,
打开后,在右侧的
“Oracle Home (empty is autodetect)”
“OCI Library (empty is autodetect)”,
根据实际情况修改:
E:\app\lenovo\product\11.2.0\client_1
E:\app\lenovo\product\11.2.0\client_1\oci.dll,
点确定后。
重新启动PL/SQL即可消除错误。
}
{
PLSQL编码不正确:
1、查询数据库编码;select userenv(‘language’) from dual;
2、添加或修改操作系统环境变量NLS_LANG 为实际值。如
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
}
{
表空间数据文件查找以及设置自增长。
select * from dba_data_files where tablespace_name = 'xxx';
ALTER DATABASE DATAFILE 'D:\APP\ADMINISTRATOR\ORADATA\XXX\YYY.DBF' AUTOEXTEND ON NEXT 200M MAXSIZE UNLIMITED;
}
{
禁用所有外检约束(语句生成)
select 'alter table '||table_name||' enable constraint '||constraint_name||';'
from user_constraints
where constraint_type='R'
---------------------constraint_type类型说明-------------------
Code Type Description Acts On Level
C Check on a table Column
O Read Only on a view Object
P Primary Key Object
R Referential AKA Foreign Key Column
U Unique Key Column
V Check Option on a view Object
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。