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 -> Insert problems

Insert problems

From: Dirk Joosen <d.joosen_at_planetinternet.nl>
Date: Tue, 16 Nov 1999 14:58:42 +0100
Message-ID: <38316312.31184EE7@planetinternet.nl>


Hi,

I want to do the following:

INSERT INTO TABLE1(FIELD1, FIELD2) VALUES(SEQ.NEXTVAL, (SELECT FIELD2 FROM TABLE1 WHERE ID = 1)); The reason for this statement is that the value with id 1 is an default value and I want a copy of this. But it doesn't work I become ORA-00936: missing expression error and I don't no why.
regards Dirk Received on Tue Nov 16 1999 - 07:58:42 CST

Original text of this message

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