
oracle 数据库
dirk_cong
自从做了程序猿,晚上不敲几行代码都睡不着觉,额回去debug去...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
oracle 数据库 结果集字符串拼接的简单解决方式
with temp as( select 'China' nation ,'Guangzhou' city from dual union all select 'China' nation ,'Shanghai' city from dual union all select 'China' nation ,'Beijing' city from dual union all原创 2017-08-15 09:06:41 · 2455 阅读 · 0 评论 -
关于sql not in 和not exists 区别和用法
1. in是把外表和内表作hash连接,而exists是对外表作loop循环,每次loop循环再对内表进行查询,一直以来认为exists比in效率高的说法是不准确的。如果查询的两个表大小相当,那么用in和exists差别不大;如果两个表中一个较小一个较大,则子查询表大的用exists,子查询表小的用in;(外表,in/exists 外面的表,内表 in /exists 内部表)2. not转载 2017-11-02 17:01:04 · 1888 阅读 · 0 评论 -
解决:Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)字面上说的意思是数据库返回的值与函数需要的不一致,那好,首先先查看数据库里面相关的字段是否是string类型的,并不是所有数据库里面的时间都是一个类型,他有可能是string,有可能是date,排除这个原因后,仍报错,则需要看你的值转换是否正确如果直接按照字符串...原创 2019-03-13 21:41:09 · 102380 阅读 · 0 评论 -
java 程序插入oracle数据库 clob Nclob大字段数据 代码
java 程序插入oracle数据库 clob Nclob大字段数据 代码懒得说直接贴出来package cn.com.oceansoft.osc.ms.service.impl;import cn.com.oceansoft.osc.ms.config.YmlConfig;import cn.com.oceansoft.osc.ms.domain.SwapTempData;im...原创 2019-05-16 16:51:07 · 1417 阅读 · 0 评论