- 浏览: 382462 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
lhbthanks:
楼主写的很多,也很实用,要是再增加一些描述就会更好了。
oracle 用户 从一个表空间 另一个表空间 -
wuhuajun:
private int _connectionMax = 51 ...
resin jboss 最大连接数设置 -
shixiaomu:
自己丁丁丁一下 学了忘忘了再学。。主要是应用场景太少
python -
shixiaomu:
我自己有了方案了java+rabbitmq_server-2. ...
hadoop hive zookeeper 还不够 -
shixiaomu:
看到这个帖子 羞愧极了 ,原来 我 09 年就想学 pytho ...
python
CREATE OR REPLACE PROCEDURE user_learn_stat_p(v_in_user_id IN number) AS
--参数IN表示输入参数,
--OUT表示输入参数,类型可以使用任意Oracle中的合法类型。
--定义变量
v_classroom_id number(10); --课程id
v_user_id number(10); --课程id
vs_msg varchar2(4000); --错误信息变量
dept_no_array_c dbms_sql.Number_Table; --数组完成
ilm_classroom_id dbms_sql.Number_Table; --综合学习课程id
dept_no_array_t dbms_sql.Number_Table; --数组总计
dept_no_array_classroom dbms_sql.Number_Table; --数组classroomid
dept_no_array_classroom_name dbms_sql.Varchar2_Table; --数组classroom名称
v_classroom_count number(10);
v_i number(10);
v_j number(10);
v_k number(10);
v_kk number(10);
v_ret number(10);
--定义游标(简单的说就是一个可以遍历的结果集)
CURSOR cur_1 IS
select C.id,
C.name,
C.type,
EV.start_date,
C.rco_id,
NVL(R.title, '') as rco_title,
'Y' as is_enrolled,
C.location,
C.is_sample,
C.is_browsable,
'Y' as is_published,
DECODE(C.cal_ev_featured, null, 'N', 'Y') as is_featured,
cg.name as content_group_name,
E.cert_period_start_date,
E.cert_period_end_date,
E.initial_certification_days,
E.renewal_certification_days
from classroom C,
cal_events EV,
rco R,
enrollment E,
privilege_ref P,
content_group cg
where P.user_id = v_in_user_id
and P.target_id = E.classroom_id
and E.user_id = v_in_user_id
and E.classroom_id = C.id
and E.is_deleted = 'N'
and C.cal_event_id = EV.id
and C.is_published = 'Y'
and C.is_hidden = 'N'
and (EV.end_date > sysdate OR EV.end_date IS NULL OR
EV.repeat_until > sysdate)
and C.content_group_id = cg.id
and C.rco_id = R.id(+)
and C.id not in(
SELECT /* IlmEnrolledView */
--c.name as cname,
c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I'
);
CURSOR cur_2 IS
SELECT /* IlmEnrolledView */
c.name as cname, c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I';
BEGIN
select count(*)
into v_classroom_count
from classroom C,
cal_events EV,
rco R,
enrollment E,
privilege_ref P,
content_group cg
where P.user_id = v_in_user_id
and P.target_id = E.classroom_id
and E.user_id = v_in_user_id
and E.classroom_id = C.id
and E.is_deleted = 'N'
and C.cal_event_id = EV.id
and C.is_published = 'Y'
and C.is_hidden = 'N'
and (EV.end_date > sysdate OR EV.end_date IS NULL OR
EV.repeat_until > sysdate)
and C.content_group_id = cg.id
and C.rco_id = R.id(+)
and C.id not in(
SELECT /* IlmEnrolledView */
--c.name as cname,
c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I'
);
--用输入参数给变量赋初值,用到了Oralce的SUBSTR TO_CHAR ADD_MONTHS TO_DATE 等很常用的函数。
v_user_id := v_in_user_id;
--然后用内置的DBMS_OUTPUT对象的put_line方法打印出影响的记录行数,其中用到一个系统变量SQL%rowcount
--DBMS_OUTPUT.put_line('del上月记录='||SQL%rowcount||'条');
--遍历游标处理后更新到表。遍历游标有几种方法,用for语句是其中比较直观的一种。
v_k := 0;
FOR rec2 IN cur_2 LOOP
v_k := v_k + 1;
ilm_classroom_id(v_k) := rec2.cid;
dbms_output.put_line('综合学习'||ilm_classroom_id(v_k));
END LOOP;
v_i := 0;
FOR rec IN cur_1 LOOP
v_i := v_i + 1;
v_classroom_id := rec.id;
dept_no_array_classroom(v_i) := rec.id;
select mm.name
into dept_no_array_classroom_name(v_i)
from classroom mm
where mm.id = v_classroom_id;
SELECT /* UserStatusView */
completed, total
into dept_no_array_c(v_i), dept_no_array_t(v_i)
FROM (SELECT SUM(DECODE(nvl(P.STATUS, 'N'), 'N', 1, 0)) AS NOT_ATTEMPTED,
SUM(DECODE(P.STATUS, 'C', 1, 0)) AS COMPLETED,
SUM(DECODE(P.STATUS, 'P', 1, 0)) AS PASSED,
SUM(DECODE(P.STATUS, 'I', 1, 0)) AS INCOMPLETE,
SUM(DECODE(P.STATUS, 'F', 1, 0)) AS FAILED,
COUNT(P.child_id) AS TOTAL
FROM (select x.child_id, P.status
from tree_xref x,
performance p,
rco,
classroom c,
enrollment E
where c.id = v_classroom_id
and x.parent_id = c.rco_id
and x.child_id = rco.id
and p.rco_id(+) = rco.source_rco_id
and p.user_id(+) = v_user_id
and rco.is_published = 'Y'
and E.user_id(+) = v_user_id
and E.classroom_id(+) = C.id
and E.cert_period_start_date is null
UNION
select x.child_id, P.status
from tree_xref x,
certification_performance p,
rco,
classroom c,
enrollment E
where c.id = v_classroom_id
and x.parent_id = c.rco_id
and x.child_id = rco.id
and p.rco_id(+) = rco.source_rco_id
and p.user_id(+) = v_in_user_id
and p.classroom_id(+) = v_classroom_id
and p.end_date(+) is null
and rco.is_published = 'Y'
and E.user_id = v_user_id
and E.classroom_id = C.id
and E.cert_period_start_date is not null) P);
END LOOP;
dbms_output.put_line('课程总计');
dbms_output.put_line(v_classroom_count);
v_ret := 0;
FOR v_j in 1 .. v_classroom_count loop
if dept_no_array_t(v_j) = 0 or dept_no_array_c(v_j) = 0 or
dept_no_array_c(v_j) / dept_no_array_t(v_j) < 1 then
v_ret := v_ret + 1;
end if;
dbms_output.put_line('!!!');
dbms_output.put_line(v_j);
dbms_output.put_line(dept_no_array_classroom(v_j));
dbms_output.put_line(dept_no_array_classroom_name(v_j));
dbms_output.put_line('完成');
dbms_output.put_line(dept_no_array_c(v_j));
dbms_output.put_line('总计');
dbms_output.put_line(dept_no_array_t(v_j));
dbms_output.put_line('百分比');
dbms_output.put_line(dept_no_array_c(v_j) / dept_no_array_t(v_j));
dbms_output.put_line('&&&');
end loop;
dbms_output.put_line('未完成课程');
dbms_output.put_line(v_ret);
--错误处理部分。OTHERS表示除了声明外的任意错误。SQLERRM是系统内置变量保存了当前错误的详细信息。
EXCEPTION
WHEN OTHERS THEN
vs_msg := 'ERROR IN user_learn_stat_p():' || SUBSTR(SQLERRM, 1, 500);
ROLLBACK;
--把当前错误记录进日志表。
INSERT INTO LOG_INFO
(proc_name, error_info, op_date)
VALUES
('user_learn_stat_p', vs_msg, SYSDATE);
COMMIT;
RETURN;
END;
--参数IN表示输入参数,
--OUT表示输入参数,类型可以使用任意Oracle中的合法类型。
--定义变量
v_classroom_id number(10); --课程id
v_user_id number(10); --课程id
vs_msg varchar2(4000); --错误信息变量
dept_no_array_c dbms_sql.Number_Table; --数组完成
ilm_classroom_id dbms_sql.Number_Table; --综合学习课程id
dept_no_array_t dbms_sql.Number_Table; --数组总计
dept_no_array_classroom dbms_sql.Number_Table; --数组classroomid
dept_no_array_classroom_name dbms_sql.Varchar2_Table; --数组classroom名称
v_classroom_count number(10);
v_i number(10);
v_j number(10);
v_k number(10);
v_kk number(10);
v_ret number(10);
--定义游标(简单的说就是一个可以遍历的结果集)
CURSOR cur_1 IS
select C.id,
C.name,
C.type,
EV.start_date,
C.rco_id,
NVL(R.title, '') as rco_title,
'Y' as is_enrolled,
C.location,
C.is_sample,
C.is_browsable,
'Y' as is_published,
DECODE(C.cal_ev_featured, null, 'N', 'Y') as is_featured,
cg.name as content_group_name,
E.cert_period_start_date,
E.cert_period_end_date,
E.initial_certification_days,
E.renewal_certification_days
from classroom C,
cal_events EV,
rco R,
enrollment E,
privilege_ref P,
content_group cg
where P.user_id = v_in_user_id
and P.target_id = E.classroom_id
and E.user_id = v_in_user_id
and E.classroom_id = C.id
and E.is_deleted = 'N'
and C.cal_event_id = EV.id
and C.is_published = 'Y'
and C.is_hidden = 'N'
and (EV.end_date > sysdate OR EV.end_date IS NULL OR
EV.repeat_until > sysdate)
and C.content_group_id = cg.id
and C.rco_id = R.id(+)
and C.id not in(
SELECT /* IlmEnrolledView */
--c.name as cname,
c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I'
);
CURSOR cur_2 IS
SELECT /* IlmEnrolledView */
c.name as cname, c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I';
BEGIN
select count(*)
into v_classroom_count
from classroom C,
cal_events EV,
rco R,
enrollment E,
privilege_ref P,
content_group cg
where P.user_id = v_in_user_id
and P.target_id = E.classroom_id
and E.user_id = v_in_user_id
and E.classroom_id = C.id
and E.is_deleted = 'N'
and C.cal_event_id = EV.id
and C.is_published = 'Y'
and C.is_hidden = 'N'
and (EV.end_date > sysdate OR EV.end_date IS NULL OR
EV.repeat_until > sysdate)
and C.content_group_id = cg.id
and C.rco_id = R.id(+)
and C.id not in(
SELECT /* IlmEnrolledView */
--c.name as cname,
c.id as cid
FROM GROUP_ENROLLMENT GE,
CLASSROOM_GROUP CG,
classroom_group_xref x,
classroom c
WHERE GE.CLASSROOM_GROUP_ID = CG.ID
and x.class_id = c.id
and cg.id = x.group_id
AND CG.IS_PUBLISHED = 'Y'
AND GE.USER_ID = v_in_user_id
AND GE.IS_DELETED = 'N'
AND GE.SITE_ID = CG.SITE_ID
AND CG.TYPE = 'I'
);
--用输入参数给变量赋初值,用到了Oralce的SUBSTR TO_CHAR ADD_MONTHS TO_DATE 等很常用的函数。
v_user_id := v_in_user_id;
--然后用内置的DBMS_OUTPUT对象的put_line方法打印出影响的记录行数,其中用到一个系统变量SQL%rowcount
--DBMS_OUTPUT.put_line('del上月记录='||SQL%rowcount||'条');
--遍历游标处理后更新到表。遍历游标有几种方法,用for语句是其中比较直观的一种。
v_k := 0;
FOR rec2 IN cur_2 LOOP
v_k := v_k + 1;
ilm_classroom_id(v_k) := rec2.cid;
dbms_output.put_line('综合学习'||ilm_classroom_id(v_k));
END LOOP;
v_i := 0;
FOR rec IN cur_1 LOOP
v_i := v_i + 1;
v_classroom_id := rec.id;
dept_no_array_classroom(v_i) := rec.id;
select mm.name
into dept_no_array_classroom_name(v_i)
from classroom mm
where mm.id = v_classroom_id;
SELECT /* UserStatusView */
completed, total
into dept_no_array_c(v_i), dept_no_array_t(v_i)
FROM (SELECT SUM(DECODE(nvl(P.STATUS, 'N'), 'N', 1, 0)) AS NOT_ATTEMPTED,
SUM(DECODE(P.STATUS, 'C', 1, 0)) AS COMPLETED,
SUM(DECODE(P.STATUS, 'P', 1, 0)) AS PASSED,
SUM(DECODE(P.STATUS, 'I', 1, 0)) AS INCOMPLETE,
SUM(DECODE(P.STATUS, 'F', 1, 0)) AS FAILED,
COUNT(P.child_id) AS TOTAL
FROM (select x.child_id, P.status
from tree_xref x,
performance p,
rco,
classroom c,
enrollment E
where c.id = v_classroom_id
and x.parent_id = c.rco_id
and x.child_id = rco.id
and p.rco_id(+) = rco.source_rco_id
and p.user_id(+) = v_user_id
and rco.is_published = 'Y'
and E.user_id(+) = v_user_id
and E.classroom_id(+) = C.id
and E.cert_period_start_date is null
UNION
select x.child_id, P.status
from tree_xref x,
certification_performance p,
rco,
classroom c,
enrollment E
where c.id = v_classroom_id
and x.parent_id = c.rco_id
and x.child_id = rco.id
and p.rco_id(+) = rco.source_rco_id
and p.user_id(+) = v_in_user_id
and p.classroom_id(+) = v_classroom_id
and p.end_date(+) is null
and rco.is_published = 'Y'
and E.user_id = v_user_id
and E.classroom_id = C.id
and E.cert_period_start_date is not null) P);
END LOOP;
dbms_output.put_line('课程总计');
dbms_output.put_line(v_classroom_count);
v_ret := 0;
FOR v_j in 1 .. v_classroom_count loop
if dept_no_array_t(v_j) = 0 or dept_no_array_c(v_j) = 0 or
dept_no_array_c(v_j) / dept_no_array_t(v_j) < 1 then
v_ret := v_ret + 1;
end if;
dbms_output.put_line('!!!');
dbms_output.put_line(v_j);
dbms_output.put_line(dept_no_array_classroom(v_j));
dbms_output.put_line(dept_no_array_classroom_name(v_j));
dbms_output.put_line('完成');
dbms_output.put_line(dept_no_array_c(v_j));
dbms_output.put_line('总计');
dbms_output.put_line(dept_no_array_t(v_j));
dbms_output.put_line('百分比');
dbms_output.put_line(dept_no_array_c(v_j) / dept_no_array_t(v_j));
dbms_output.put_line('&&&');
end loop;
dbms_output.put_line('未完成课程');
dbms_output.put_line(v_ret);
--错误处理部分。OTHERS表示除了声明外的任意错误。SQLERRM是系统内置变量保存了当前错误的详细信息。
EXCEPTION
WHEN OTHERS THEN
vs_msg := 'ERROR IN user_learn_stat_p():' || SUBSTR(SQLERRM, 1, 500);
ROLLBACK;
--把当前错误记录进日志表。
INSERT INTO LOG_INFO
(proc_name, error_info, op_date)
VALUES
('user_learn_stat_p', vs_msg, SYSDATE);
COMMIT;
RETURN;
END;
发表评论
-
数据库的原理-侧重索引
2014-06-25 16:32 812统计信息和过滤因子 分布统计信息 (信息分布不均衡.存在重复数 ... -
redis并发统计
2012-11-20 18:24 1250统计并发. 是从1970年1月1日(UTC/GMT的午夜)开始 ... -
linux Page cache和buffer cache 正解
2012-11-13 16:17 1053Page cache和buffer cache一直以来是两个比 ... -
Redis被bgsave和bgrewriteaof阻塞的解决方法(转)
2012-08-02 11:26 790Redis 是一个性能非常高效的内存 Key-Value 存储 ... -
热点账户得问题
2010-08-10 13:44 1431热点账户得问题 -
执行查询cpu100%
2010-04-23 18:31 916联表是笛卡尔积还是左关联或者有关联? 不要看你查出来多少 ... -
oracle dbLink
2010-02-05 11:35 1037俩台不同的数据库服务器,从一台数据库服务器的一个用户读取另一台 ... -
oracle job 定时器 脚本
2009-09-02 11:55 1847declare JOB_ILEARN_ONLINE numb ... -
oracle 动态sql
2009-06-25 13:47 995用decode取代where条件的动态sql select ... -
oracle trigger 表名 列名
2009-06-04 11:39 1039select 'create or replace trigg ... -
oracle 数据库 触发器 trigger 语法
2009-06-04 09:23 6110关键字: oracle 数据库 触发器 trigger 语法 ... -
标准 oracle 存储过程 模板
2009-04-23 11:03 1375--创建存储过程 CREATE OR REPLACE PROC ... -
hql 日期 减法
2009-02-17 10:26 1296错误:select t from user t where t ... -
linux 安装 oracle 常见问题
2009-02-15 13:30 12871. 安装前的hosts文件 l cat /etc/ ... -
oracle 用户 从一个表空间 另一个表空间
2009-02-03 23:37 7697--------------重要--------------- ... -
oracle密码文件
2009-02-03 23:31 964很多时候需要对ORACLE密码文件进行重建,ORACLE对密码 ... -
配置Oracle9i的归档模式
2009-02-01 14:35 2766配置Oracle9i的归档模式 ... -
oracle的冷热备份大全
2009-02-01 13:38 1201Oracle备份与恢复案例 By Piner 一. 理 ... -
linux oracle 的定时恢复和备份
2009-01-20 12:37 27551.exp导出 #!/bin/sh ORACLE_HO ...
相关推荐
Oracle PROC,全称为Pro*C,是Oracle公司提供的一种预编译器,用于将C语言与PL/SQL结合,便于在C程序中嵌入对Oracle数据库的访问。PROC程序设计是Oracle数据库开发的重要组成部分,尤其在处理大量数据或者需要高性能...
Oracle ProC 是Oracle公司提供的一种集成的C语言编程接口,它是Oracle数据库应用程序开发的重要组成部分,尤其适用于需要高效、低级数据库访问的系统。本系列教程深入探讨了如何使用ProC进行数据库应用程序的开发,...
Oracle Proc,全称为Oracle Pre-Compiler,是一种将PL/SQL代码嵌入到C或FORTRAN等高级语言中的工具。Proc编程允许开发人员在C或FORTRAN程序中直接编写和执行Oracle数据库的PL/SQL代码,提高了应用程序的性能和效率。...
Oracle Proc*C设计是一种在C语言中使用Oracle数据库的接口编程技术。Proc*C是Oracle提供的一种预编译器,它允许开发者直接在C程序中嵌入SQL语句,从而简化了数据库应用程序的开发过程。Proc*C提供了更高效、更直接的...
Oracle ProC/C++编程是Oracle数据库与C++语言结合的一种技术,它允许开发人员使用C++语言编写存储过程、函数和其他数据库对象。Oracle 11g版本提供了更加强大的ProC/C++支持,使得开发者可以利用C++的高效性和灵活性...
Oracle ProC 是Oracle数据库提供的一种集成的C语言接口,它允许开发者使用C语言来编写数据库相关的应用程序,同时利用Oracle数据库的高效性能和特性。ProC结合了C语言的强大功能和Oracle数据库的高级特性,如PL/SQL...
### Oracle ProC 编程入门知识点详解 #### 一、Oracle ProC 概述 **Oracle ProC** 是 Oracle 数据库提供的一种编程接口,用于将 C 语言与 SQL 语句相结合,从而允许开发者在 C 语言环境中直接操作 Oracle 数据库。...
标题中的"ProC-Sample.rar_oracle_oracle proc sample_proc"揭示了这是一个关于Oracle数据库的ProC编程示例。ProC是Oracle提供的一种预编译器,它允许开发者在PL/SQL中嵌入C代码,以提高性能和处理复杂计算。这个...
Oracle Proc,全称为Oracle Pro*C,是Oracle公司提供的一种预编译器,它允许开发者使用C语言来编写PL/SQL程序,从而实现高效地访问Oracle数据库。Proc编程为开发人员提供了一种混合C和PL/SQL的方式,使得在C应用程序...
Oracle ProC 是一种集成在C语言中的Oracle数据库编程接口,它允许开发人员使用C语言来编写数据库相关的应用程序,同时利用了Oracle数据库的强大功能。Oracle ProC 提供了预编译器,将C代码转换为PL/SQL块,使得C语言...
《ORACLE PROC_*C编程点滴》这篇文档主要探讨了在Oracle数据库环境下使用PROC_*C进行编程的一些关键点,特别是在预编译时指定数据库用户和处理游标操作的细节。以下是这些知识点的详细说明: 1. **预编译时指定...
### Oracle ProC 编程入门知识点详解 #### 引言:编写目的与背景 Oracle Pro*C编程入门旨在为初学者提供全面的Oracle嵌入式开发技术教程,特别针对那些需要从其他数据库(如Informix)迁移至Oracle的企业员工。...
### Oracle Pro*C/C++程序开发相关知识点 #### 一、新特性介绍 ##### ORACLE 9i RELEASE 2 (9.2) 新特性 - **嵌入式SQL LOB类型处理结构**:此版本增加了对SQL LOB类型的处理支持,这使得在C/C++应用程序中处理...
Oracle PROC程序设计主要涉及到在Oracle数据库环境中使用PL/SQL(Procedural Language/Structured Query Language)进行过程化编程。PL/SQL是Oracle数据库提供的一种强大的、面向对象的编程语言,它扩展了SQL的功能...
在IT行业中,开发分布式应用程序常常涉及多种技术和工具的协同工作,本项目就是一个很好的实例,它在Visual C++ 6.0(简称VC6)平台上,利用Oracle的PROC预编译程序,结合TUXEDO中间件,实现了服务端对Oracle数据库...
### Linux系统下的Oracle ProC数据库编程详解 #### 一、引言 随着信息技术的发展,数据库管理系统(DBMS)已经成为现代企业信息系统的重要组成部分。Oracle数据库作为业界领先的关系型数据库管理系统之一,在企业和...
Oracle 11g ProC/C++编程艺术是数据库开发领域中一本重要的技术书籍,它深入探讨了如何利用ProC和C++与Oracle数据库进行高效交互。这本书的源代码提供了丰富的实例,帮助读者更好地理解ProC和C++在Oracle环境中的...
标题“Oracle Proc Error”指的是在使用Oracle Pro*C(也称为Pro*C/C++)时遇到的错误情况。Pro*C是Oracle公司提供的一种预编译器,它允许开发人员使用C或C++语言编写PL/SQL代码,并与Oracle数据库进行交互。在描述...
Oracle Proc 是Oracle数据库中的一种工具,它主要用于编写和执行PL/SQL过程,即Procedural Language/Structured Query Language。在Oracle环境中,Proc 提供了一种交互式的编程环境,使得数据库管理员和开发人员能够...