Re: PL/SQL question

From: Bo Bell <bob_at_indigoddb.be.statoil.no>
Date: 1995/06/13
Message-ID: <1995Jun13.065534.8053_at_statoil.no>#1/1


If you want to use variable column names in your procedure, you would have to use dynamic sql.

Another possibility is to _generate_ the trigger. This should not be to difficult. ( A script containing desc TABLENAME to file, followed by some awk/sh statement to generate the TRIGGER.SQL file)

The drawback with this solution is that you would have rekompile the trigger if you are making changes to the table.

regards, Bo.


        _________|                                |_________
        \        |         Bo Bell                |        /
         \       |    Bergen Data Consulting a/s  |       /
          \      |  5049 Sandsli, Bergen, Norway  |      /
	  /      |  e-mail: bob_at_ddb.be.statoil.no |      \
         /       |________________________________|       \
        /___________)                          (___________\

                                
Received on Tue Jun 13 1995 - 00:00:00 CEST

Original text of this message