使用类之前使用关键字type来声明一个类如type A = class i,j,k:integer; procedure setA(a,b,c:integer); function gerA():integer;end;这里已经定义了一个类,现在我们来使用类在使用类之前,我们先必须给下面2行...
分类:
其他好文 时间:
2014-10-04 21:02:47
阅读次数:
134
--创建过程,參数为sys_refcursor,为out型create or replace procedure aabbsys_refcursor(o out sys_refcursor) isbegin open o for select * from basplumain;end;-----....
分类:
其他好文 时间:
2014-10-04 16:46:46
阅读次数:
287
uplevel - Execute a script in a different stack framesuppose that procedure a was invoked from top-level, and that it called b, and that b called c. S...
分类:
其他好文 时间:
2014-10-04 13:49:46
阅读次数:
186
转自:http://lorry1113.javaeye.com/blog/513851关键字: oracle 存储过程1.基本结构 CREATE OR REPLACE PROCEDURE 存储过程名字 ( 参数1 IN NUMBER, 参数2 IN NUMBER ) IS 变量1 INTEGER.....
分类:
数据库 时间:
2014-10-03 02:31:33
阅读次数:
610
实例1:仅仅返回单一记录集的存储过程。银行存款表(bankMoney)的内容例如以下IduserIDSexMoney001Zhangsan男30002Wangwu男50003Zhangsan男40要求1:查询表bankMoney的内容的存储过程create procedure sp_query_ba...
分类:
数据库 时间:
2014-10-01 22:16:51
阅读次数:
305
1、判断是否存在addOneArticle这个存储过程if Exists(select name from sysobjects where NAME = 'addOneArticle' and type='P') drop procedure addOneArticle2、判断是否存在co...
分类:
数据库 时间:
2014-09-30 19:52:50
阅读次数:
234
1. 每天的8:00到23:00每隔5分钟执行一个sql语句的JOB
--建立一个存储过程
CREATE OR REPLACE PROCEDURE p_jobtest IS
v_hh VARCHAR2(2);
BEGIN
v_hh := to_char(SYSDATE, 'hh24');
IF v_hh >= '08' AND v_hh '22' ...
分类:
数据库 时间:
2014-09-30 18:16:40
阅读次数:
389
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/Procedure To Add a Swap File Under LinuxYou need to use the dd command to create swap file. T...
分类:
系统相关 时间:
2014-09-30 16:59:09
阅读次数:
293
var gStart, gLength, gCol: Integer;procedure SetRichEdit(aRichEdit: TRichEdit);var fRow, fCol: Integer; fStart, fLength, tStart: Integer;begin fRo...
分类:
其他好文 时间:
2014-09-29 14:01:10
阅读次数:
170