oracle学习--循环语句 loop循环: create or replace procedure pro_test_loop is i number; begin i:=0; loop i:=i+1; dbms_output.put_line(i); if i>5 then exit; end if; end loop; end pro_test_loop; while循环: create or replace procedure pro_test_while is i number; b
select DEST_ID, APPLIED_SCN FROM v$archive_dest select * from v$dataguard_status; SELECT gvi.thread#, timestamp, message FROM gv$dataguard_status gvds, gv$instance gvi WHERE gvds.inst_id = gvi.inst_id AND severity in ('Error','Fatal') ORDER BY timest
客户测试库,down问题分析,根据alert 的问题指向,实例异常终止,但是无其它有价值的信息 Terminating the Instance Due to Error Out-Of-Memory(OOM) Killer Crashes Oracle Database (Doc ID 1622379.1) SYMPTOMS Instance terminated due to death of background process. In this case, it was DBWR. No
Oracle学习系列6 ************************************************************************************ 删除约束(重点): 格式: alter table person drop constraint constraint_name ; 创建person表: create table person( UID varchar() name varchar() not null, //非空约束 age numb