ITeye博客

kzerg的博客

kzerg · 共 16 篇文章

oracle查询列名 输出文件

insert select b.column_name||',' from user_col_comments b where b.table_name='WEB_EDR_RSN'; select lower(REPLACE(b.column_name,'_','')) ||',' from user_col_comments b where b.table_name='WEB_EDR_RSN'; select '#'||lower(REPLACE(b.column_name,'_','')) ||'#,' from user_col_comments b where b.table_nam…

2012-04-27 20:11 · oracle · 评论(0)

日记2012-04-13

权限控制,目前一般采用MD5加密算法对数据进行单向加密,修改密码机制为用户自身填写正确的密码进行验证通过后 将修改后的新密码加密存储于数据库中. 管理员可授权用户不需要旧密码直接修改自身密码.管理员也只能修改自身密码,只有授予他人直接修改密码的权限.这样可以控制任何用户都只需要知道自己的密码. 系统优化,界面友好性的提高,包括界面的响应速度的优化,页面元素增加交互特性,减少用户手工输入内容.

2012-04-13 16:25 · 备忘 · 评论(0)

日记2012-04-05

1.下拉框编辑实现 2.日历编辑实现 3.统计计算实现 4.小计等合计数据计算 5.单位编辑功能 6.按单位显示功能 实现 7. 单位分级显示 8.实时鼠标 坐标 显示 9.地图测距 10.表格图片显示

2012-04-05 18:43 · 日记 · 评论(0)

oracle 动态查询 多维数组

declare /* * 遍历数据库可以打开的表 收集数据 需要延时函数 * * */ --数组 --TYPE Type_Array IS TABLE OF VARCHAR2(50) INDEX BY BINARY_INTEGER; --循环变量 j number:=1; table_target NVARCHAR2(50):=''; --多维数组--多条数组 TYPE v_table IS TABLE OF user_tab_comments%ROWTYPE INDEX BY BINARY_INTEGER; my_table v_table; begin --使用动态查询增强灵活性... …

2012-03-31 13:57 · oracle · 评论(0)

oracle sequence job

declare job1 number; startdate date:=to_date('2011-10-20 00:00:00','yyyy-mm-dd hh24:mi:ss'); begin --创建序列 drop sequence seq_epcis_web_undr_opn; create sequence seq_epcis_web_undr_opn --创建序列名字为 a_seq minvalue 1 -- 最小值为 1 maxvalue 9999999999999999999999999999 --- 最大值 start with 1 --- 开始值 1 increment …

2012-03-31 13:06 · oracle · 评论(0)

oracle merge

MERGE INTO EHR_STAFF_ATTEND_DETAIL A USING (SELECT 'LOVE001' AS STAFF_ID, 2 AS ATTEND_DETAIL_ID, '1011' AS ATTEND_NO, '02' AS ATTEND_STYLE, '41' AS PERMUTE_ID, '1' AS IS_VALID, USER AS CREATED_BY, USER AS UPDATED_BY, SYSDATE AS DATE_CREATED, SYSDATE AS DATE_UPDATED FROM DUAL) B ON (A.STAFF_ID = B.S…

2012-03-31 13:05 · oracle · 评论(0)

oracle package比较

动态SQL TABLE使用 判断数据 =========================================== 2011-10-19 判断 函数 create or replace function F_CAN_APPNO_RECALL(app_no in varchar2) return boolean is app_count number; v_SQLStatement varchar2(512); SEND_TIME DATE; TYPE cursor_type IS REF CURSOR; C_CHKTIME cursor_type; i number;--控制查询语…

2012-03-31 11:49 · oracle · 评论(0)

oracle 数组

Oracle数组一般可以分为固定数组和可变数组 固定数组 Sql代码 declare type v_ar is varray(10) of varchar2(30); my_ar v_ar:=v_ar('g','m','d','龚','帅'); begin for i in 1..my_ar.count loop dbms_output.put_line(my_ar(i)); end loop; end; declare type v_ar is varray(10) of varchar2(30); my_ar v_ar:=v_ar('g','m','d','龚','帅'); begin …

2012-03-31 11:14 · oracle · 评论(0)

javascript笔记

q1:Extends是干嘛的?? q2: //test function ArgTest(a, b){ var i, s = "The ArgTest function expected "; var numargs = arguments.length; // 获取被传递参数的数值。 var expargs = ArgTest.length; // 获取期望参数的数值。 if (expargs < 2) s += expargs + " argument. "; else s += expargs + " arguments. "; if (numargs < 2) s += numarg…

2012-03-29 15:54 · 备忘 · 评论(0)

easyUI使用参考04-树,布局,数据表

12 ... Tree **(树)**... 33 13 ... Layout **(布局)**... 38 14 ... Datagrid **(数据表)**... 39 1 Tree(树) 1.1 实例 1.1.1 代码 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=UTF-8" …

2012-03-29 15:31 · 参考 · 评论(0)

easyUI使用参考03-分页,窗口,面板,标签

8 .... Pagination **(分页)**... 20 9 .... Window **(窗口)**... 23 10 ... Panel **(面板)**... 26 11 ... Tabs **(标签)**... 30 1 Pagination(分页) 1.1 实例 1.1.1 代码 <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=gb2312" > <title>jQuery EasyUI</title> <link rel= "stylesheet" type= "tex…

2012-03-29 15:18 · 参考 · 评论(0)

easyUI使用参考02-对话框,提示框,数字框,验证框

4 .... Dialog **(对话框)**... 10 5 .... Messager **(提示框)**... 12 6 .... NumberBox **(数字框)**... 16 7 .... ValidateBox **(验证框)**... 18 1 Dialog(对话框) 1.1 实例 1.1.1 代码 <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=gb2312" > <title>jQuery EasyUI</title> <link rel= "stylesheet" …

2012-03-29 14:34 · 参考 · 评论(0)

easyUI使用参考01-可折叠标签,日期框,组合框

1 .... Accordion(可折叠标签) ... 2 2 .... DateBox(日期框) ... 4 3 .... ComboBox(组合框) 7 1 Accordion(可折叠标签) 1.1.1 代码 <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=UTF-8" > <title>jQuery EasyUI</title> <link rel= "stylesheet" type= "text/css" href= "../themes/default/easyui.css" …

2012-03-29 13:53 · 参考 · 评论(0)

oracle10 odbc连接字符串

Driver={Microsoft ODBC for Oracle};Server=::Server::/::DataBase::;Uid=::Uid::;Pwd=::Pwd::

2012-03-08 11:21 · 备忘 odbc · 评论(0)

google map 基础函数使用备忘

function CoordMapType(tileSize) { this.tileSize = tileSize; } CoordMapType.prototype.getTile = function(coord, zoom, ownerDocument) { var div = ownerDocument.createElement('DIV'); var ymax = 1 << zoom; var y = ymax - coord.y - 1; div.innerHTML = coord.x + "," + y + "," + zoom; div.style.width = thi…

2012-03-06 14:51 · 备忘 · google map · 评论(0)