請問 oracle SQL 語法 |
答題得分者是:Mickey
|
hazard
一般會員 ![]() ![]() 發表:30 回覆:24 積分:10 註冊:2006-10-28 發送簡訊給我 |
|
andersonhsieh
版主 ![]() ![]() ![]() ![]() ![]() 發表:33 回覆:531 積分:439 註冊:2002-06-10 發送簡訊給我 |
|
hazard
一般會員 ![]() ![]() 發表:30 回覆:24 積分:10 註冊:2006-10-28 發送簡訊給我 |
引言:Set isolation to dirty read 為將整個DB設成即使TABLE LOCK 住,依然可以SELECT Set isolation to committed read 為上述之還原引言: 請問在oracle 上有類似informix 中的 「Set isolation to dirty read」& 「Set isolation to committed read」語法嗎 ??可以說明一下以上兩個功能主畏在做什麼用的 @@~~飛翔在天際的精靈~~@@ |
Mickey
版主 ![]() ![]() ![]() ![]() ![]() 發表:77 回覆:1882 積分:1390 註冊:2002-12-11 發送簡訊給我 |
引言: 請問在oracle 上有類似informix 中的 「Set isolation to dirty read」& 「Set isolation to committed read」語法嗎 ??不知是不是你想要的. ALTER SESSION SET ISOLATION_LEVEL = { SERIALIZABLE | READ COMMITTED } specifies how transactions containing database modifications are handled. ISOLATION_ LEVEL is a session parameter only, not an initialization parameter. SERIALIZABLE indicates that transactions in the session use the serializable transaction isolation mode as specified in SQL92. That is, if a serializable transaction attempts to execute a DML statement that updates rows currently being updated by another uncommitted transaction at the start of the serializable transaction, then the DML statement fails. A serializable transaction can see its own updates. READ COMMITTED indicates that transactions in the session will use the default Oracle transaction behavior. Thus, if the transaction contains DML that requires row locks held by another transaction, then the DML statement will wait until the row locks are released. /* 使用中文很辛苦,中華男兒當自強 */ |
hazard
一般會員 ![]() ![]() 發表:30 回覆:24 積分:10 註冊:2006-10-28 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |