Re: pl/sql simple prob but .....

From: Kim Hughes <Kim=Hughes%NA%Contractors_at_bangate.compaq.com>
Date: 1996/01/23
Message-ID: <DLnrFE.1Kw_at_twisto.eng.hou.compaq.com>#1/1


Ravi,
  You must use the DBMS_SQL package for substitution of table names and database links. This can be found in the Oracle Administator Guide or its addendum. This package follows the same process as in the OCI calls for C and Fortran. Steps:

  1. Open a cursor.
  2. Parse the SQL statement into the cursor
  3. Substitute Values for placeholders
  4. Execute cursor.
  5. Close cursor. If you are expecting information back you must also substitute resulting fields from the select statement with memory variables.
  6. Kim Hughes Managing Consultant DRT Systems Houston, TX (713)868-5537
Received on Tue Jan 23 1996 - 00:00:00 CET

Original text of this message