程序总是难以避免地会出现各种问题,严重时甚至崩溃退出。现在很多应用程序在出现崩溃时会收集相关错误信息,发送错误报告,方便开发人员定位并修复问题。最近在实际工作中也遇到了类似的问题,客户端通过PLSQL等工具连接到远程数据库服务器做运维操作,出于安全性的考虑,这里客户端并不是直接连到服务器,而是先连到...
分类:
其他好文 时间:
2015-07-02 19:11:38
阅读次数:
148
PL/SQL精明的调用栈分析
原文:http://www.oracle.com/technetwork/issue-archive/2014/14-jan/o14plsql-2045346.htmlThe three DBMS_UTILITY functions
(DBMS_UTILITY.FORMAT_CALL_STACK, DBMS_UTILITY.FORMAT_ERROR_STACK,...
分类:
数据库 时间:
2015-07-02 15:47:34
阅读次数:
222
drop procedure if exists p_simulate_dynamic_cursor;create procedure p_simulate_dynamic_cursor()begin declare v_sql varchar(4000); declare v_...
分类:
数据库 时间:
2015-07-02 13:48:13
阅读次数:
183
通过pl/sql实现分页过程,再该过程中由简单到难一步步深入,目的在于通过该案例熟悉pl/sql的各种存储过程,包,游标,如何在java中调用等内容的学习。...
分类:
数据库 时间:
2015-07-02 12:19:31
阅读次数:
150
PL/SQL也是一种程序语言,叫做过程化SQL语言(Procedural Language/SQL)。PL/SQL是Oracle数据库对SQL语句的扩展。在普通SQL语句的使用上增加了编程语言的特点,所以PL/SQL就是把数据操作和查询语句组织在PL/SQL代码的过程性单元中,通过逻辑判断、循环等操作实现复杂的功能或者计算的程序语言。
总结下来就是是sql语言的扩展,sql语句+...
分类:
数据库 时间:
2015-07-01 23:42:49
阅读次数:
174
drop procedure if exists p_hello_world;create procedure p_hello_world()begin declare id integer; declare username varchar(256); declare resul...
分类:
数据库 时间:
2015-07-01 20:28:27
阅读次数:
168
drop procedure if exists p_hello_world;create procedure p_hello_world()begin select sysdate();end;call p_hello_world();
分类:
数据库 时间:
2015-07-01 20:10:27
阅读次数:
119
declare Type ref_cur_variable IS REF cursor; cur_variable ref_cur_variable; v_empno scott.emp.empno%type; v_ename scott.emp.ename%type; ...
分类:
数据库 时间:
2015-06-30 00:05:02
阅读次数:
166
-- refer: -- http://www.cnblogs.com/gnielee/archive/2009/09/09/1563154.html-- http://www.cnblogs.com/yudy/archive/2012/07/18/2597874.htmlCREATE OR REP...
分类:
数据库 时间:
2015-06-30 00:04:02
阅读次数:
181
declare Type ref_cur_variable IS REF cursor; cur_variable ref_cur_variable; v_ename varchar2(10); v_deptno number(2); v_sal number(...
分类:
数据库 时间:
2015-06-30 00:03:23
阅读次数:
191