随笔分类 -  数据库学习

oracle \pl/sql\sql server
摘要:select distinct s.owner ||'.'||s.name from dba_source swhere lower(s.TEXT) like '%insert%tb_flow_instance%' 阅读全文
posted @ 2019-10-15 18:23 是不是唐辛子啊 阅读(274) 评论(0) 推荐(0)
摘要:1.定义 instr函数返回要截取的字符串在源字符串中的位置 语法如下: instr( string1, string2 [, start_position [, nth_appearance ] ] ) 参数分析: string1 源字符串,要在此字符串中查找。 string2 要在string1 阅读全文
posted @ 2019-09-25 11:21 是不是唐辛子啊 阅读(1961) 评论(0) 推荐(0)
摘要:(一)UNION ALL \UNION 的用法和区别 (二)实例 a.union all SELECT '1' code, '新建' name FROM dualUNION allSELECT '2' code, '处理中' name FROM dualUNION allSELECT '3' cod 阅读全文
posted @ 2019-09-24 15:21 是不是唐辛子啊 阅读(218) 评论(0) 推荐(0)
摘要:一、DML(Data Manipluation Language) 查:select {*|distinct column |expression [alias] |...} 选择列 from {table|view|procedures|other select} 数据源 where condic 阅读全文
posted @ 2018-12-05 19:19 是不是唐辛子啊 阅读(119) 评论(0) 推荐(0)