【发布时间】:2011-11-13 21:57:10
【问题描述】:
对于应该将 PL/SQL 存储在何处,以下问题的解决方案是否正确。
您想要创建一个 PL/SQL 块 cof 代码来计算客户订单的折扣。 - 此代码将在多个地方调用,但仅在程序单元 ORDERTOTAL 内。 存储计算折扣的代码的最合适位置是什么?
A. A stored procedure on the server.
B. A block of code in PL/SQL library.
C. A standalone procedure on the client machine.
D. A block of code in the body of the program unit ORDERTOTAL.
E. A local subprogram defined within the program unit ORDERTOTAL.
ANSWER: E
【问题讨论】:
-
我能知道,哪位先生投了反对票,所以我下次更正
-
什么是正确的答案,是 E 正确的,因为我也对 A 感到困惑
-
“wht”、“tht”、“nxt”和“bcoz”的另一个 -1。
-
这个问题是在 Oracle Forms 的上下文中吗?
-
投了反对票(并关闭),因为作为图像,该问题在任何实际条件下都不可搜索,因此对任何人都没有任何用处。也缺少问题的上下文。
标签: oracle stored-procedures plsql