Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: SEQUENCE
Hi,
the way we do this is by createing a before insert trigger. So you can set another default e.g. -99 (a value that wouldnt appear in your column). Now you can programm your trigger that relpaces the old.value by new.value.
I dont know another solution
Hope I could help
Axel
In article <6m856c$o11$1_at_nnrp1.dejanews.com>,
vjoshi_at_pinnacle.co.uk wrote:
>
> Is there a way of including the next sequence number as a default value within
> create table statement ?
>
> Many thanks in advance
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/ Now offering spam-free web-based newsreading
>
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed Jun 17 1998 - 09:19:21 CDT