Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Basic INSERT question
Hi Chris,
The INSERT....VALUES syntax is for one row.
As the other poster has indicated there is an INSERT...SELECT syntax that will select multiple rows from existing table(s).
I hope this helps,
Steve
"Chris A" <candrew_at_oxspring.com> wrote in message
news:NlEo8.4567$Vm5.34087_at_NewsReader...
> Hi,
>
> Why can't I do this in Oracle8:
>
> INSERT INTO tblTest VALUES
> (1,'Test 1'),
> (2,'Test 2'),
> (3,'Test 3');
>
> Is there an alternative syntax I can use that will insert 3 rows in ONE
> statement ?
>
> Thanks,
> Chris
>
>
>
Received on Thu Mar 28 2002 - 08:22:40 CST