- 博客(5)
- 收藏
- 关注
转载 oracle--联表update不允许使用order by
update bpm_biz b set dealer_memo = (select e.ASSIGN_MEMO from BPM_TASK t ,BPM_TASK_EXT e where t.TASK_ID = e.TASK_ID and b.INST_ID = t.INST_D and rownum=1 and t.PRE_TASKNAME = 'XXXXX' and t.TA...
2015-11-13 14:49:00 425
转载 oracle --- to_date('2015','yyyy')
select * from SCA_WORK_CALENDAR where DAY>=to_date('2015','yyyy') and DAY<to_date('2016','yyyy') and DAY_TYPE='0' order by CALENDAR_ID 在公司执行这条sql语句时,得不到2015年的数据,只能得到2016年的数据, 原因: select ...
2015-11-09 15:43:00 110
转载 sybase报错: This exceeds the maximum allowable limit of 600.
sybase在进行group by查询的时候报错: execute error:The current query would generate a key size of 700 for a work table. This exceeds the maximum allowable limit of 600. 原因:Sybase中的group by 默认最大的列的长度是600,...
2015-10-28 16:23:00 222
转载 详解Oracle DELETE和TRUNCATE 的区别
语法 delete from aa truncate table aa 区别 1.delete from后面可以写条件,truncate不可以。 2.delete from记录是一条条删的,所删除的每行记录都会进日志,而truncate一次性删掉整个页,因此日至里面只记录页释放,简言之,delete from更新日志,truncate基本不,所用的事务日志空间...
2015-07-02 09:08:00 88
转载 java设计模式详解(转)
设计模式(Design Patterns) ——可复用面向对象软件的基础 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制...
2015-06-24 15:33:00 104
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人