摘要: SQL中正常执行的SQL语句: update b_dispatch set ReferenceNum = ( case when ISNULL(fno,' ')=' ' then fno when fno='〔〕' then '' else replace(... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(2429) 评论(0) 推荐(0)
摘要: --创建两张测试表create table table1( id varchar2(10) , val varchar2(20) ); create table table2( id varchar2(10), val varchar2(20) )... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(2907) 评论(0) 推荐(0)
摘要: Oracle数据库中如果执行了误操作,比如update 某表某字段,但是没有加where 条件,会导致全表字段被修改,又或者误删除了某表所有记录,我们可以通过Oracle的的热备还原到指定的某一个时间点 --查询某一时间戳之前的数据select * from ... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(406) 评论(0) 推荐(0)
摘要: SQL中Left对应Oracle Substr substr函数格式 (俗称:字符截取函数) 格式1: substr(string string, int a, int b); 格式2:substr(string string, int a) ;解释:... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(209) 评论(0) 推荐(0)
摘要: 原SQL写法: //生成表结构// sErr := OpenSql('SELECT CAST(0 AS INTEGER) AS iStep, CAST('''' AS VARCHAR(40)) AS StepName, CAST('''' AS VARCHAR... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(211) 评论(0) 推荐(0)
摘要: Oracle union操作时字段类型不一致会报如下错误 --> ORA-01790: expression must have same datatype as corresponding expression select * from (SELECT t... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(1237) 评论(0) 推荐(0)
摘要: 1,stpeacehttps://blog.csdn.net/stpeace 2,phphothttps://blog.csdn.net/phphot 3,yuanmeng001https://blog.csdn.net/yuanmeng001 4,yjcls... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(59) 评论(0) 推荐(0)
摘要: JavaScript之函数直接量(function(x,y){}())写法和用途,就像java的匿名类一样,定义并立即执行一个函数,并在函数本体中立即得到返回值。 var _0x4818 = ['csKHwqMI', 'ZsKJwr8VeAsy', 'UcKi... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(73) 评论(0) 推荐(0)
摘要: 在js中秉承着一切都是对象的原则,不论是方法还是其他都不例外。 我们在使用java的时候经常要编写方法,这时候其用的关键字是function,而在js中我们在编写函数的时候也是用这个关键字,所以常常会使我们错把两者进行关联,所以常常会把我们引导至一个错误的方向... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(223) 评论(0) 推荐(0)
摘要: public static void main(String[] args) throws IOException { Map header = new HashMap(); header.put("Accept", "text/h... 阅读全文
posted @ 2022-10-04 00:15 IT情深 阅读(90) 评论(0) 推荐(0)