您好,登錄后才能下訂單哦!
http://www.itpub.net/thread-1499223-2-1.html
13樓
任意有CREATE PROCEDURE權限的用戶登錄并且執行下列語句:
CREATE OR REPLACE PACKAGE plch_pkg IS g_stuff VARCHAR2 (10) := 'Stuff'; PROCEDURE show_stuff; END; / CREATE OR REPLACE PACKAGE BODY plch_pkg IS PROCEDURE show_stuff IS BEGIN DBMS_OUTPUT.put_line (g_stuff); END; END; / BEGIN plch_pkg.show_stuff; END; / CREATE OR REPLACE PACKAGE plch_pkg IS g_new_stuff VARCHAR2 (10) := 'NewStuff'; END; / BEGIN DBMS_OUTPUT.put_line (plch_pkg.g_new_stuff); END; /
下列的哪個選項正確反映了在執行上述兩個匿名塊之后, 我屏幕上的顯示內容?
(A)
Stuff
NewStuff
(B)
First "Stuff" is displayed on the screen. Then I will see this error:
ORA-04063: package body "HR.PLCH_PKG" has errors
ORA-06508: PL/SQL: could not find program unit being called: "HR.PLCH_PKG"
(C)
Stuff
答案B
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。