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: Using sequence for default value, help!!

Re: Using sequence for default value, help!!

From: Norman Dunbar <ndunbar_at_lynxfinancialsystems.co.uk>
Date: Thu, 26 Apr 2001 11:44:48 +0100
Message-ID: <F43E6BAE5BB5D411A44C00805FBE740D7F1EC0@apps.leeds.lfs.co.uk>

And don't forget to code the trigger to check if there is a value in the field already and only assign the nex sequence value if not ! :o)

Norman.



Norman Dunbar		EMail:	NDunbar_at_LynxFinancialSystems.co.uk
Database/Unix administrator	Phone:	0113 289 6265
Lynx Financial Systems Ltd.	Fax:	0113 201 7265
			URL:	http://www.LynxFinancialSystems.com
------------------------------------------------------------------------

>> You can't do it like this. You must create trigger which will be
 setting id
>> value.
Received on Thu Apr 26 2001 - 05:44:48 CDT

Original text of this message

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