随笔分类 -  Oracle

摘要:When I try to insert data into TABLE, this error occurs. The reasons caused the error can be concluded as below 1. Duplicate records. 2. Duplicate rec 阅读全文
posted @ 2018-03-24 13:34 KIKI_FAN 阅读(366) 评论(0) 推荐(0)
摘要:animal id name 1 dog 1 cat 2 lion 怎么得到相同id的name list呢?也就是想得到id 为1的list为dog, cat格式。 1. 首先Oracle有一个方法,wm_concat() 但很遗憾,现在已经不支持这个方法了. 2. 第二个方法XMLAGG() se 阅读全文
posted @ 2017-09-06 20:48 KIKI_FAN 阅读(329) 评论(0) 推荐(0)
摘要:今天碰到了一个SQL Error, 跟DBA同事沟通了很久。 原因是我在DEV,给一个Table增加了两个field,按理来说这种小问题不会出什么error,DEV和SIT也没有任何问题,偏偏在UAT报了错,于是估计是migration出了问题。跟同事沟通之后,发现UAT的这个Table也显示出增加 阅读全文
posted @ 2017-08-10 19:23 KIKI_FAN 阅读(397) 评论(0) 推荐(0)