阿摩線上測驗 登入

試題詳解

試卷:無年度 - Oracle ActualTests.1Z0-147.v2008-11-10.by.Ramon.111q#24548 | 科目:資料庫管理系統(AS2)

試卷資訊

試卷名稱:無年度 - Oracle ActualTests.1Z0-147.v2008-11-10.by.Ramon.111q#24548

科目:資料庫管理系統(AS2)

QUESTION 5 Given a function CALCTAX: long CREATE OR REPLACE FUNCTION calctax (sal NUMBER) RETURN NUMBER IS BEGIN RETURN (sal * 0.05); END; If you want to run the above function from the SQL *Plus prompt, which statement is true? Long
(A) You need to execute the command CALCTAX(1000);.
(B) You need to execute the command EXECUTE FUNCTION calctax;
(C) You need to create a SQL *Plus environment variable X and issue the command :X := CALCTAX(1000);.
(D) You need to create a SQL *Plus environment variable X and issue the command EXECUTE :X := CALCTAX;
(E) You need to create a SQL *Plus environment variable X and issue the command EXECUTE :X := CALCTAX(1000);
正確答案:登入後查看