
Oracle 存储过程
Peas4
热爱技术,热爱生活!
展开
-
plSQL写好的存储过程为什么执行时报无效SQL
-----创建一个不带任何参数的过程 create or replace procedure out_time is begin dbms_output.put_line(systimestamp); end; -----使用execute命令调用过程 execute OUT_TIME(); -----使用call命令调用过程 call OUT...原创 2014-06-26 09:50:32 · 2703 阅读 · 0 评论 -
存储过程实例(一)
图一:目标表原数据 需求是将code_name批量改成原字典表t_exam_sort里对应code_id里的值 图二 图三 图四 图六 存储过程代码如下: CREATE OR REPLACE PROCEDURE neusoft_testingnow is--当前日期 cursor test_sort is select t.code_id,t.code_name from...原创 2014-06-26 10:24:37 · 436 阅读 · 0 评论 -
存储过程实例(二)
create or replace procedure neusoft_insemployee_id is cursor test_post_sort is select t.employee_code,t.post_sort_code from urp_exam.trans_data_post_sort t where t.employee_code not like '1...原创 2015-07-13 09:49:08 · 187 阅读 · 0 评论