![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql数据库
Super特特
这个作者很懒,什么都没留下…
展开
-
postgresql 事物
sql如下:select * from taf_install where ins_no = 'AZ0012018071100068';BEGIN TRANSACTION;--or BEGIN;开启事物DELETE from taf_install where ins_no = 'AZ0012018071100068';select * from taf_install where ins_no ...原创 2018-07-12 11:54:03 · 639 阅读 · 0 评论 -
oracle decode函数
1.相当于if__ else(if __else if __else用法) decode(value,if1,then1,if2,then2,if3,then3,...,else) select decode(1,1,100,800)from dual;--100(if_else_),如果1等于1,则100,如果1不等于1,则800 select decode(1,0,100,800) fro...原创 2019-09-05 11:38:31 · 176 阅读 · 0 评论