PL/SQL SQL Coding Guideline 65 - Try to keep your packages small. Include only few procedures and functions that are used in the same context

條款六十五,試著讓 package 只有少量的內容,只在裡面保存少量的 procedure 與 function。 ...

July 27, 2017 · 1 min · 116 words · Larry Nung

PL/SQL SQL Coding Guideline 58 - Always use a string variable to execute dynamic SQL

條款五十八,總是使用字串變數去執行 Dynamic SQL。 ...

July 10, 2017 · 1 min · 174 words · Larry Nung

PL/SQL SQL CODING GUIDELINE 57 - Avoid using Oracle’s predefined exceptions

條款五十七,避免使用 Oracle 預先定義好的例外。 ...

July 5, 2017 · 1 min · 86 words · Larry Nung

PL/SQL SQL CODING GUIDELINE 56 - Avoid unhandled exceptions

條款五十六,避免未處理的例外。 像是下面這段程式,當沒資料或是資料過多時 Select into 就會丟出例外。 ...

July 4, 2017 · 1 min · 170 words · Larry Nung

PL/SQL SQL Coding Guideline 55 - Avoid use of the RAISE_APPLICATION_ERROR built-in procedure with a hard coded 20,nnn error number

條款五十五,避免直接使用 RAISE_APPLICATION_ERROR hard code 帶入 error number 與 error message 拋出錯誤。 ...

June 30, 2017 · 1 min · 130 words · Larry Nung

PL/SQL SQL Coding Guideline 53 - Avoid use of WHEN OTHERS clause in an exception section without any other specific handlers

條款五十三,避免單獨使用 WHEN OTHERS 去處理例外。 ...

June 18, 2017 · 1 min · 123 words · Larry Nung

PL/SQL SQL Coding Guideline 52 - Never assign predefined exception names to user defined exceptions

條款五十二,不要使用自定義錯誤去重新定義 Oracle 預先定義的錯誤。 ...

June 17, 2017 · 1 min · 134 words · Larry Nung

PL/SQL SQL Coding Guideline 51 - Never handle unnamed exceptions using the error number

條款五十一,不要使用 Error Number 去處理 Unnamed Exceptions。 ...

June 16, 2017 · 1 min · 136 words · Larry Nung

PL/SQL SQL Coding Guideline 50 - Avoid hard coded upper or lower bound values with FOR loops

條款五十,避免 hard-codeed FOR loop 的上下邊界值。 ...

June 13, 2017 · 1 min · 197 words · Larry Nung

PL/SQL SQL CODING GUIDELINE 49 - Avoid use of unreferenced FOR loop indexes

條款四十九,避免未使用的 FOR loop 索引。 ...

June 12, 2017 · 1 min · 169 words · Larry Nung