2009年6月26日

常犯的错误

摘要: [代码][代码] 阅读全文

posted @ 2009-06-26 03:49 dolphin_bobo 阅读(120) 评论(0) 推荐(0) 编辑

2009年6月20日

distinct /count/ other aggrevate function for null value

摘要: [代码] 阅读全文

posted @ 2009-06-20 03:52 dolphin_bobo 阅读(244) 评论(0) 推荐(0) 编辑

2009年6月18日

Html 乱七八糟

摘要: 1.不换行 <td nowrap="nowrap"> 2.页面尽量不要用return,可以的话尽量采用link方式回到原来页面.person home page->personal details page (set link on person name ) 阅读全文

posted @ 2009-06-18 03:15 dolphin_bobo 阅读(119) 评论(0) 推荐(0) 编辑

2009年6月17日

说说回车键触发表单提交的问题

摘要: 我们有时候希望回车键敲在文本框(input element)里来提交表单(form),但有时候又不希望如此。比如搜索行为,希望输入完关键词之后直接按回车键立即提交表单,而有些复杂表单,可能要避免回车键误操作在未完成表单填写的时候就触发了表单提交。要控制这些行为,不需要借助JS,浏览器已经帮我们做了这些处理,这里总结几条规则:1、如果表单里有一个type=”submit”的按... 阅读全文

posted @ 2009-06-17 05:35 dolphin_bobo 阅读(282) 评论(0) 推荐(0) 编辑

2009年5月20日

group by只能嵌套2层,而且一带有2层嵌套的字段,其他的普通字段都无法显示

摘要: [代码] 阅读全文

posted @ 2009-05-20 00:58 dolphin_bobo 阅读(352) 评论(0) 推荐(0) 编辑

2009年5月19日

current allocated/future/released '&' IN PL-SQL

摘要: [代码] 阅读全文

posted @ 2009-05-19 23:51 dolphin_bobo 阅读(105) 评论(0) 推荐(0) 编辑

细边框,border 属性is used for table tag only (在BLOG中直接输入html代码,导致blog布局乱)

摘要: [代码] 阅读全文

posted @ 2009-05-19 18:15 dolphin_bobo 阅读(319) 评论(0) 推荐(0) 编辑

中文ORACLE出现乱码

摘要: execute immediate 'alter session set nls_language=american';execute immediate 'alter session set nls_date_format=''MM/DD/YYYY''';---------- 阅读全文

posted @ 2009-05-19 00:20 dolphin_bobo 阅读(182) 评论(0) 推荐(0) 编辑

2009年5月17日

SQL中exists和in的区别(转)

摘要: SQL中exists和in的区别(转) 假设如下应用: 两张表——用户表TDefUser(userid,address,phone)和消费表TAccConsume(userid,time,amount),需要查消费超过5000的用户记录。 用exists: select * from TDefUser where exists (select 1 from TAccConsume where TD... 阅读全文

posted @ 2009-05-17 23:58 dolphin_bobo 阅读(526) 评论(0) 推荐(0) 编辑

2009年5月13日

java 同步简单理解

摘要: [代码] 阅读全文

posted @ 2009-05-13 19:52 dolphin_bobo 阅读(129) 评论(0) 推荐(0) 编辑

2009年5月11日

判断时间段是否有效区间

摘要: [代码] 阅读全文

posted @ 2009-05-11 17:53 dolphin_bobo 阅读(374) 评论(0) 推荐(0) 编辑

白痴错误!!!

摘要: [代码] 阅读全文

posted @ 2009-05-11 17:42 dolphin_bobo 阅读(142) 评论(0) 推荐(0) 编辑

2009年5月6日

Excel 数据导入 ORACLE

摘要: 1 SQL Load - .CVF file2 Excel: Concatenate to build insert statement3 PL/SQL tools* Import data to 1 temp table 阅读全文

posted @ 2009-05-06 21:17 dolphin_bobo 阅读(144) 评论(0) 推荐(0) 编辑

2009年5月2日

外连接

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->-- out join sequenct : sub Collection1 => 结果集第一,二列有NULL值 2.考虑 Collection1(+) =dept =>Collectio... 阅读全文

posted @ 2009-05-02 20:15 dolphin_bobo 阅读(128) 评论(0) 推荐(0) 编辑

SQL 胡言乱语

摘要: 任何函数,字段考虑NULL的作用 ORDER BY -- NULL TO_DATE,TO_CHAR 考虑格式 DECODE ,CASE --NULL GROUP BY NULL AS "COLUMN_NAME" 都要用AS 阅读全文

posted @ 2009-05-02 19:02 dolphin_bobo 阅读(124) 评论(0) 推荐(0) 编辑

利用SQL 构造EMP,DEPT表

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> SELECT ' SELECT ' ||'''' || EMPNO || ''' AS EMPNO ,' ||'''' || ENAME || ''' AS ENAME ,' ||... 阅读全文

posted @ 2009-05-02 18:58 dolphin_bobo 阅读(265) 评论(0) 推荐(0) 编辑

2009年4月29日

PNL 行列转置--decode /case when then else end

该文被密码保护。 阅读全文

posted @ 2009-04-29 21:00 dolphin_bobo 阅读(6) 评论(0) 推荐(0) 编辑

2009年4月28日

SQL 技巧-ORACLE

摘要: 1)在select语句中使用条件逻辑 1select ename,sal, 2 case when sal = 4000 then 'OVERPAID' 4 else 'OK' 5 end as status 6from emp ENAME SAL STATUS ---------- ---------- -------... 阅读全文

posted @ 2009-04-28 19:05 dolphin_bobo 阅读(274) 评论(0) 推荐(0) 编辑

Start with - Connect by - level

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->--根目录开始遍历 --向下遍历 select prior a "prior_a" , prior b "prior_b" , prior c "prior_c" ,level ... 阅读全文

posted @ 2009-04-28 15:46 dolphin_bobo 阅读(679) 评论(0) 推荐(0) 编辑

2009年4月15日

Oracle 函数对null,空值的处理

摘要: Token CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/**//* NVL2( string1, value_if_NOT_null, value_if_null ) RETURN Y*/ select nvl2('','N... 阅读全文

posted @ 2009-04-15 19:54 dolphin_bobo 阅读(710) 评论(0) 推荐(0) 编辑

导航