PL/SQL SQL Coding Guideline 48 - Do not use a cursor FOR loop to check whether a cursor returns data

條款四十八,不要遍巡 CURSOR 去確認是否含有資料。 ...

June 8, 2017 · 1 min · 148 words · Larry Nung

PL/SQL SQL CODING GUIDELINE 47 - Try to label your EXIT WHEN statements

條款四十七,嘗試將 EXIT WHEN 搭配 label 使用。 ...

June 7, 2017 · 1 min · 153 words · Larry Nung

PL/SQL SQL Coding Guideline 46 - Always use EXIT WHEN instead of an IF statement to exit from a loop

條款四十六,總是使用 EXIT WHILE loop 去跳離迴圈,不要使用 IF…EXIT。 ...

June 7, 2017 · 1 min · 209 words · Larry Nung

PL/SQL SQL Coding Guideline 45 - Avoid using EXIT to stop loop processing unless you are in a basic loop

條款四十五,避免使用 EXIT 去跳離迴圈,除非使用的是 basic loop。 ...

June 6, 2017 · 1 min · 220 words · Larry Nung

PL/SQL SQL Coding Guideline 44 - Always use a WHILE loop to process a loose array

條款四十四,總是使用 WHILE loop 去處理 loose array。 ...

May 3, 2017 · 1 min · 180 words · Larry Nung

PL/SQL SQL Coding Guideline 43 - Use 1 as lower boundary and COUNT as upper boundary when looping over a dense array

條款四十三,遍巡 dense array 時,建議使用 1 當做 lower boundary,使用 COUNT() 當做 upper boundary。 ...

April 21, 2017 · 1 min · 198 words · Larry Nung

PL/SQL SQL Coding Guideline 42 - Always use a numeric FOR loop to process a dense array

條款四十二,總是使用 NUMERIC FOR loop 去處理 dense array。 ...

March 7, 2017 · 1 min · 86 words · Larry Nung

PL/SQL SQL Coding Guideline 41 - Always use a cursor FOR loop to process the complete cursor results unless you are using BULK operations

條款四十一,總是使用 CURSOR for loop,除非使用 Bulk operations。 ...

March 3, 2017 · 1 min · 97 words · Larry Nung

PL/SQL SQL CODING GUIDELINE 40 - Always label your loops

條款四十,如果程式中有 loop,嘗試使用 label 讓他的區塊範圍更為清楚。 ...

March 2, 2017 · 1 min · 121 words · Larry Nung

PL/SQL SQL Coding Guideline 38 - Always use CASE instead of NVL2 if parameter 2 or 3 of NVL2 is either a function call or a SELECT statement

條款三十八,如果 NVL 第二或第三個參數是 function 呼叫或是 select 語句,使用 CASE 取代 NVL2。 ...

September 5, 2016 · 1 min · 131 words · Larry Nung