数据库语言
无名小卒QWQ
这个作者很懒,什么都没留下…
展开
-
数据库回滚到某个时间点(仅用于Oracle数据库)
select * from cst_bse_inf as of timestamp to_timestamp('2018-08-01 09:20:00','yyyy-mm-dd hh24:mi:ss');alter table cst_bse_inf enable row movement;flashback table cst_bse_inf to timestamp to_timesta...原创 2018-08-02 15:17:21 · 2814 阅读 · 0 评论 -
跑批时间设置
https://blog.csdn.net/taotoxht/article/details/46967569 http://cron.qqe2.com/ 这个是在线生成器转载 2019-02-21 10:05:08 · 1702 阅读 · 0 评论 -
删除两表中不同的数据
DELETE from OLD_NEW_CSTNO where OLD_NEW_CSTNO.NEW_CUST_NO not in(select CST_BSE_INF.CUST_NO from CST_BSE_INF);原创 2019-02-21 10:15:48 · 586 阅读 · 0 评论 -
从a表插入b表没有的数据
INSERT INTO PER_BSE_INF (LGLPSN_ENT_CD,CUST_NO) SELECT NEW_BANK_ID,NEW_CUST_NO FROM OLD_NEW_CSTNOWHERE not exists (select * from PER_BSE_INF where PER_BSE_INF.CUST_NO = OLD_NEW_CSTNO.NEW_CUST_NO);原创 2019-02-21 10:16:25 · 499 阅读 · 0 评论