Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: making default column values work in %ROWTYPE inserts

Re: making default column values work in %ROWTYPE inserts

From: Daniel <danielroy10junk_at_hotmail.com>
Date: 1 Jun 2005 08:37:50 -0700
Message-ID: <1117640270.720961.201200@g44g2000cwa.googlegroups.com>


I can't think of any way of doing it the way you are trying. But I think it's probably very easy to implement a solution using dynamic SQL, querying all_tab_columns (columns "column_name", "data_type", "data_length", "data_precision", "data_default", ...) iteratively for each column of the table.

Daniel Received on Wed Jun 01 2005 - 10:37:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US