近期修改拆分文件的脚本,这个脚本拆分文件比较,存在脚本调用脚本的现象,当时执行完后,日志输出没有退出控制台,查找原因是有调用后台执行的脚本,这个&号,是让程序在后台运行,不会自己停止的。解决方法是:调用后台执行脚本完成之后加上这些代码:waitecho "All is ok"exit 0说明:exit 0 是执行成功 、exit 1...【阅读全文】
oracle中 full(a) parallel(a,6) 和 parallel(a,6) 区别:FULL (a) 是指定全表扫描 full table scan.你在执行计划中可以看到.parallel(a,6) 是指并行查询 desired number of concurrent query servers that can be used for the query.两个hints可以同时用 就是你说的 full(a) parallel(a,6)在“执行计划”里,如...【阅读全文】
select into from 和 insert into select都是用来复制表,两者的主要区别为: select into from 要求目标表不存在,因为在插入时会自动创建。insert into select from 要求目标表存在备份表数据: create table emp as select * from scott.emp还原表数据:insert into emp select * from scott.emp...【阅读全文】