linux下部署oraclehttps://www.cnblogs.com/gjc592/p/11491325.html
初学指南待处理:异常处理;游标for循环;
- ?怎么备份二进制文件
SQL> alter database backup controlfile to ‘dictionary/file’;
alter database backup controlfile to ‘dictionary/file’
第 1 行出现错误:
ORA-01580: 创建控制备份文件 dictionary/file 时出错
ORA-27040: 文件创建错误, 无法创建文件
OSD-04002: 无法打开文件
O/S-Error: (OS 3) 系统找不到指定的路径。
- ?授权时报错 实际这俩表在的
SQL> grant select on “system”.“products”
2 to “new_role”;
grant select on “system”.“products”
*
第 1 行出现错误:
ORA-00942: 表或视图不存在
-?创建用户时报错 ORA-02380: 概要文件 default 不存在
但是SELECT username,PROFILE FROM dba_users order by USERNAME;
有数据
SQL> create user “new_user” profile “default” identified
2 by “userpassword” password expire default tablespace “new_ts”
3 temporary tablespace “temp” quota unlimited on “temp”;
by “userpassword” password expire default tablespace “new_ts”
-
第 2 行出现错误:
ORA-02380: 概要文件 default 不存在 -
?报错PLS-00103: 出现符号 “SQLERRM”
SQL> declare
2 l_counter number := 0;
3 l_today date := sysdate;
4 l_name varchar2(50);
5 l_seq_val number := ian_seq.nextval;
6 begin
7 l_counter := l_counter + 1;
8 l_name := ‘lucy the cat’;
9 exception
10 when others then
11 raise_application_error (-20100 , ‘error#’ || sqlcode || ‘desc:’ sqlerrm)
12 end;
13 /
raise_application_error (-20100 , ‘error#’ || sqlcode || ‘desc:’ sqlerrm)
*
第 11 行出现错误:
ORA-06550: 第 11 行, 第 66 列:
PLS-00103: 出现符号 "SQLERRM"在需要下列之一时:
) , * & = - + < / > at
in is mod remainder not rem => <an exponent (**)>
<> or != or ~= >= <= <> and or like like2 like4 likec between
|| member submultiset -
?搞不清 right join on 和(+)是不是等同关系 外连接
-
?update空字段 日期0条
-
ORA-00604递归SQL级别1出现错误 ora-% 超出游标最大数
A:用户过载,考虑安全传输和稳定,必须设游标上限。扩大上限慎重。或提示用户数量超限 -
oracle 监听服务报错:“找不到文件”?
A:
1.运行->regedit 进入注册表,HKEY_LOCAL_MACHINE -> SYSTEM->CurrentControlSet->Services->
oracleOraDb10g_home2TNSListener -> 修改ImagePath :
F:\app\DOO\virtual\product\12.2.0\dbhome_1\bin\tnslsnr.exe
--------------------- 作者:love_baobao 来源:优快云 原文:https://blog.youkuaiyun.com/love_baobao/article/details/7076546
版权声明:本文为博主原创文章,转载请附上博文链接!
2.再次启动,报错“本地计算机上的OracleOraDb11g_home2TNSListener服务启动又停止了解决”?
A: