随笔分类 - sql
摘要:replace()函数表示将用一个字符串替换字符串中的所出现的特定内容。 语法为:replace(字段1,字段2,字段3),意思为字段3将会替换字段1里与字段2相同的内容 列如: table1 state 20 select replace(state,'2','1') from table1 结果
阅读全文
摘要:SELECT * FROM (SELECT * FROM up_merchant_info order by dbms_random.value) WHERE rownum =1;
阅读全文
摘要:Oracle wm_concat()函数 Oracle wm_concat()函数 Oracle wm_concat()函数 oracle wm_concat(column)函数使我们经常会使用到的,下面就教您如何使用oraclewm_concat(column)函数实现字段合并 如: shoppi
阅读全文
摘要:select substr(t.short_name,0,3)|| '个体户' from up_merchant_info t where t.merc_num = '18030115384673'; update up_merchant_info t set t.short_name = (sel
阅读全文
浙公网安备 33010602011771号