Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Entering dynamic data into 2 fields
Hi All,
I have a table and for god knows what reason two fields in the table must have the same value. Lets call them ID_1 and ID_2. ID_1 is determined by:
SEQ.NEXTVAL() How can I write an SQL statement (i.e. without using PL/SQL variables) that would allow me to enter the value returned by SEQ.NEXTVAL() into both fields?
Thanks in advance,
John
johnnyr77