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 -> create Table with Trigger (nextval) ??

create Table with Trigger (nextval) ??

From: Dave Marshall <dmarsh_at_istar.ca>
Date: Tue, 08 Dec 1998 11:44:17 -0800
Message-ID: <lkfb2.106$hI.622887@WReNphoon2>


Howdy,

You would have to create a before insert trigger on the table which selects the next value from a sequence and assign this value to the column.

Good luck,

Dave

   -**** Posted from remarQ, Discussions Start Here(tm) ****- http://www.remarq.com/ - Host to the the World's Discussions & Usenet Received on Tue Dec 08 1998 - 13:44:17 CST

Original text of this message

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