我嘗試實現繼承與Oracle對象:繼承與Oracle對象
CREATE OR REPLACE TYPE ENREG_320_BASE AS OBJECT (.....) NOT FINAL
CREATE OR REPLACE TYPE ENREG_320_03 AS OBJECT UNDER ENREG_320_BASE(.....) FINAL
我有一個錯誤:
Error: ORA-06550: line 1, column 29: PLS-00103: Encountered the symbol "UNDER" when expecting one of the following:
(not external JAVA_ BOUND_ The symbol "(" was substituted for "UNDER" to continue. ORA-06550: line 2, column 17: PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
. () , * @ % & | = - + </> at in is mod remainder not range rem => .. <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKE ORA-06550: line 3, column 27: PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
有可能是我做的事情錯了(第一次嘗試在PLSQL繼承) 。你能幫我嗎 ?
PS:我用的是Oracle 10
工作謝謝
好吧,因爲我讀了一些其他文檔,那裏寫的是那樣 – mlwacosmos
嗯,它是官方的Oracle文檔嗎?或者只是你在網上找到的隨機的東西? – APC
大學文檔 – mlwacosmos