Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_TRANSFORM, 2 of 4
This procedure creates a transformation that maps an object of the source type to an object of the target type. The transformation expression can be a SQL expression or a PLSQL function. It must return an object of the target type.
DBMS_TRANSFORM.CREATE_TRANSFORMATION ( schema VARCHAR2(30), name VARCHAR2(30), to_schema VARCHAR2(30), to_name VARCHAR2(30), from_schema VARCHAR2(30), from_name VARCHAR2(30),
You can also specify the transformation expression, which returns an object of the target type. If the target type is an ADT, the expression must be a function returning an object of the target type or a constructor expression for the target type. You can choose to not specify a transformation expression and specify a transformation per attribute of the target_type using MODIFY_TRANSFORMATION.
transformation VARCHAR2(4000));
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|