Subprograms are named PL/SQL blocks that can take parameters and be invoked. PL/SQL has two types of subprograms called procedures and functions。
A procedure is a subprogram that performs a specific action我想oracle的过程的概念是一样的。

解决方案 »

  1.   

    You write procedures using the syntax: [CREATE [OR REPLACE]]
    PROCEDURE procedure_name[(parameter[, parameter]...)]
       [AUTHID {DEFINER | CURRENT_USER}] {IS | AS}
       [PRAGMA AUTONOMOUS_TRANSACTION;]
       [local declarations]
    BEGIN
       executable statements
    [EXCEPTION
       exception handlers]
    END [name];
      

  2.   

    过程可以返回多个值(out参数),函数只返回一值
      

  3.   

    刚来ORACLE版.依楼上所说,那与SQL SERVER一样啦