摘要: 1、nvl('A','B') 如果a为null,则显示B2、DECODE(value, if1, then1, if2,then2, if3,then3, . . . else )3、grouping函数用法,带一个参数,参数为字段名,结果是根据该字段得出来的就返回1,反之返回04、Overover不能单独使用,要和分析函数:rank(),dense_rank(),row_number()等一起使用。其参数:over(partition by col1 order by col2)含义:按col1指定的字段进行分组,然后再按照col2进行排序4、开窗函数:ran 阅读全文
posted @ 2013-06-11 15:36 傅心词 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 在spring的事务管理高层抽象层中主要包含3个借口:TransactionDefinition,PlatformTransactionManager,TransactionStatusTransactionDefinition用于描述隔离级别、超时时间、是否为只读事务和事务传播规则TransactionStatus代表一个事务的具体运行状态、以及保存点PlatformTransactionManager一个高层次的接口,包含3个方法commit、rollback和getTramsaction事务传播级别:PROPAGATION_REQUIRED--支持当前事务,如果当前没有事务,就新建一个事 阅读全文
posted @ 2013-06-11 00:30 傅心词 阅读(3162) 评论(0) 推荐(0) 编辑