1 Star 0 Fork 0

pcd / ThePoolofDevelop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Oracle.txt 1.33 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
{
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
}
C/C++
1
https://gitee.com/andwp/ThePoolofDevelop.git
git@gitee.com:andwp/ThePoolofDevelop.git
andwp
ThePoolofDevelop
ThePoolofDevelop
master

搜索帮助

14c37bed 8189591 565d56ea 8189591