
oracle
微笑如风
学习一生不可停,努力,提高,进步、!!!http://api.jquery.com/
展开
-
oracle存储过程
存储过程创建语法: create [or replace] procedure 存储过程名(param1 in type,param2 out type)as变量1 类型(值范围);变量2 类型(值范围);Begin Select count(*) into 变量1 from 表A where列名=param1; If (判断条件) then Sele...翻译 2018-04-28 15:38:05 · 179 阅读 · 0 评论 -
Oracle存储过程及参数理解
一、过程 (存储过程) 过程是一个能执行某个特定操作的子程序。使用CREATE OR REPLACE创建或者替换保存在数据库中的一个子程序。示例1:声明存储过程,该过程返回dept表行数DECLARE PROCEDURE getDeptCount AS deptCount INT; BEGIN SELECT COUNT(*) INTO deptCount FROM DEPT...翻译 2018-04-28 15:39:36 · 3983 阅读 · 1 评论 -
oracle存储过程二
无参存储过程:create or replace procedure sayhelloas--说明部分begin dbms_output.put_line('hello world');end;123456命令窗口的两种调用方法1.SQL> set serveroutput on; --第一次一定要开SQL> exec sayhellohello worldPL/...翻译 2018-04-28 15:40:18 · 184 阅读 · 0 评论