Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Error on Insert with Select

Error on Insert with Select

From: abrusko <abrusko_at_binney-smith.com>
Date: Thu, 29 Jul 1999 08:24:46 -0800
Message-ID: <933265492.22891@www.remarq.com>


Hi,

Can anyone please tell me what is wrong with the syntax of this query...I am getting the following error: ORA-00907: missing right parenthesis

Insert into Frt.Freight
(pro, frt_order, carrier, accrued, shipfrom, shipdate, shipto, customer, division, code, weight, value, cust_po, pc, cases, city, shippoint, pallets, bl, whse, cube, reldate, month, year, state, frt_mode)

   (Select (pro, frt_order, carrier, accrued, shipfrom, shipdate, shipto, customer, division, code, weight, value, cust_po, pc, cases, city, shippoint, pallets, bl, whse, cube, reldate, month, year, state, frt_mode) from Frt.Sardown
where (division = 'EXPORT' or division = 'SUBSIDIARY' or

          division = 'SAMPLES'));

Thank you!
Andy

Received on Thu Jul 29 1999 - 11:24:46 CDT

Original text of this message

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