1:测试数据库表usermysql> desc user$$+-------+-------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra ...
分类:
数据库 时间:
2014-07-07 11:01:18
阅读次数:
222
Ø 存储过程的概念 存储过程Procedure是一组为了完成特定功能的SQL语句集合,经编译后存储在数据库中,用户通过指定存储过程的名称并给出参数来执行。 存储过程中可以包含逻辑控制语句和数据操纵语句,它可以接受参数、输出参数、返回单个或多个结果集以及返回值。常用系统存储过程有:exec sp_da...
分类:
数据库 时间:
2014-07-07 00:35:23
阅读次数:
472
var aa: array [0..5] of Char; bb:Pointer; cc:string; dd:PChar;procedure TForm1.Button1Click(Sender: TObject);begindd:='abcdef'; //以下是pchar内容转数组FillCha...
分类:
其他好文 时间:
2014-07-06 21:56:57
阅读次数:
264
Java层的Binder对象模型:
IBinder
IBinder是Binder通信机制中的核心部分(Base interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when pe...
分类:
其他好文 时间:
2014-07-03 16:46:20
阅读次数:
204
1、存储过程示例:为指定的职工在原工资的基础上长10%的工资SQL> create or replace procedure raiseSalary(empid in number) as pSal emp.sal%type; begin select sal int...
分类:
其他好文 时间:
2014-07-03 10:47:30
阅读次数:
171
log_bin_trust_function_creators错误解决当有mysql本地或远程建立function或procedure时报上面的错误经试验是log_bin_trust_function_creators值为off导致设置:?1set global log_bin_trust_func...
分类:
其他好文 时间:
2014-07-02 22:48:29
阅读次数:
297
procedure TMainForm.openForm(Caption, FormClassName: string);var i: integer; sheet: TUniTabSheet;begin for i := 0 to page.PageCount - 1 do begin ...
分类:
其他好文 时间:
2014-07-02 18:48:09
阅读次数:
224
Transact-SQL中的存储过程,非常类似于Java语言中的方法,它可以重复调用。当存储过程执行一次后,可以将语句缓存中,这样下次执行的时候直接使用缓存中的语句。这样就可以提高存储过程的性能。Ø 存储过程的概念 存储过程Procedure是一组为了完成特定功能的SQL语句集合,经编译后存储在数据...
分类:
数据库 时间:
2014-07-01 23:29:42
阅读次数:
206
RPC(Remote Procedure Call Protocol)——远程过程调用协议,它是一种通过网络从远程计算机程序上请求服务,而不需要了解底层网络技术的协议。RPC协议假定某些传输协议的存在,如TCP或UDP,为通信程序之间携带信息数据。在OSI网络通信模型中,RPC跨越了传输层和应用层。...
分类:
其他好文 时间:
2014-07-01 13:30:14
阅读次数:
180
(Procedure Language,过程化语言)SQL 1999各大数据库厂商通用的一种结构化语言 PL/SQL只支持Oracle数据库
基本语法
多行注释 /* */ 单行注释 --
PLSQL程序块
结构
[declare]
定义变量
begin
过程语句
[exception]
处理 异常
end;
例子 输出helloworld
begin
dbms_output.put_line('hello');
end;
--如果...
分类:
数据库 时间:
2014-07-01 11:23:51
阅读次数:
313