Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Insert data into varray
On 2005-04-29, Marcin 'dethar' Jurasz <nick_at_op.pl> wrote:
> Fri, 29 Apr 2005 07:35:30 +0000 (UTC), Rene Nyffenegger wrote:
>
>> INSERT INTO tab_customers (id, phone_nos) VALUES (
>> 1, // <=============================================
>> t_vphonenos (
>> ('123123123'),
>> ('345345345')
>> )
>> );
>
> Unique constraint violated :P. :). I tried many combinations, also
> modified from psoug.org, but... still got problem. Thanks anyway ;).
Yeah, this 1 is was only a placeholder. Use a sequence instead.
hth
Rene
-- Rene Nyffenegger http://www.adp-gmbh.ch/Received on Fri Apr 29 2005 - 16:37:05 CDT