A package is a schema object that groups logically related PL/SQL types, items, and subprograms. Packages usually have two parts, a specification and a body, although sometimes the body is unnecessary. The specification (spec for short) is the interface to your applications; it declares the types, variables, constants, exceptions, cursors, and subprograms available for use. The body fully defines cursors and subprograms, and so implements the spec.

解决方案 »

  1.   

    包是一个包含相关PL/ SQL,项目和过程的对象类。 包有二个部份,一个specification和一个body(可无)。 specification是对程序的接口;它声明使用可用的类型,变量,常量,异常,游标,过程和函数。 body定义游标,过程和函数。