1、定义一个程序包create or replace package pag_q is type cur_result is ref cursor;end pag_q;2、存储过程里面这样写create or replace procedure prc_q(res out pag_q.cur_res...
分类:
数据库 时间:
2015-04-23 01:47:35
阅读次数:
205
/*创建一个过程,ORACLE?PL/SQL语法*/
CREATE?OR?REPLACE?PROCEDURE?MYPROC
AS
???v_id?????t_user.id%TYPE;?/*声明变量,类型与指定表字段一致*/
???v_user???t_user%ROWTYPE;?/*声明变量,...
分类:
数据库 时间:
2015-04-22 22:24:20
阅读次数:
306
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares...
分类:
移动开发 时间:
2015-04-22 22:20:40
阅读次数:
137
json格式中文解码查询
这里有一坑,mysql 在查询的时候自动将'\' 做特殊字符处理了
需要四个 \\\\ 进行转换转义
$username = json_encode($username);
$username = str_replace('\\','\\\\\\\\',trim($username, '"'));
$where = $where . ' and wb_bp_user...
分类:
Web程序 时间:
2015-04-22 22:15:49
阅读次数:
215
Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of...
分类:
移动开发 时间:
2015-04-22 22:15:41
阅读次数:
1099
题目描述
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the...
分类:
移动开发 时间:
2015-04-22 18:40:10
阅读次数:
136
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares...
分类:
移动开发 时间:
2015-04-22 18:14:05
阅读次数:
109
表结构 存储过程 CREATE OR REPLACE PROCEDURE TEST3(TID IN INTEGER,O OUT SYS_REFCURSOR)
AS
BEGIN
IF(TID>0) THEN
OPEN O FOR SELECT * FROM XHSCK.T_ADMINISTRATIVE_LEVEL T WHERE T.ADMINISTRATIVE...
分类:
数据库 时间:
2015-04-22 14:08:17
阅读次数:
154
Js没有全局替换函数 当你选用replace函数时 只会替换第一个
用正则匹配的方式
而且可以把变量赋值进去替换
全局替换
var r ='ddddd';
var a="d";
var reg=new RegExp(a,"g");
alert(r.replace(reg, "f"));
//alert(r.replace(/...
分类:
Web程序 时间:
2015-04-22 13:57:01
阅读次数:
155
题意:
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of th...
分类:
移动开发 时间:
2015-04-22 13:56:15
阅读次数:
155