摘要:
-- 更新+插入 -- merge into x using() on() when matched then update set when not matched then insert ; merge into A_MERGE A USING (select B.id,B.name,B.yea 阅读全文
摘要:
转:https://blog.csdn.net/sean4m/article/details/52121873 ###一、user_tables、all_tables、dba_tables关系: user_tables :可查询当前用户的表; all_tables :可查询所有用户的表; dba_t 阅读全文
摘要:
https://blog.csdn.net/u013939918/article/details/60882806 https://www.doc88.com/p-2788108743808.html 阅读全文
摘要:
dbms_random.value :该函数用来产生一个介于0和1之间随机数,查询结果随机排序是它的一种用法。 取出0-1之间的随机数: select dbms_random.value from dual; 取出0到任意范围的随机数: select dbms_random.value100 fro 阅读全文
摘要:
oracle密码过期,需要重置一下,原密码即可 https://blog.csdn.net/zdw_wym/article/details/38066745 阅读全文
摘要:
跑大批数据时,对数据order by产生异常: https://blog.csdn.net/yingdovezuo/article/details/86471691 阅读全文
摘要:
https://blog.csdn.net/Alexander_1314/article/details/96494558 Failed to start LSB: Bring up/down解决方法: https://blog.csdn.net/kawnj/article/details/8166 阅读全文
摘要:
第一种方法: declare -- Local variables here m integer; begin -- Test statements here --输出开始时间 dbms_output.put_line('start:'||sysdate); m:=0; --循环插入的数据量 for 阅读全文
摘要:
ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效 select session_id from v$locked_object; SELECT sid, serial#, username, osuser FROM v$session where sid = 2 阅读全文
摘要:
https://www.cnblogs.com/zeussbook/p/10535120.html 阅读全文