Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL question (using result of nested statement in arithmetic operation)
UPDATE Sequences
SET seq_nbr = (SELECT MAX(seq_nbr)
FROM sequences) + 1
Without any DDL, I can only guess. It looks like you need a scalar subquery expression, but I have no idea what seq_nbr and seq_id mean since we have no DDL or specs for the table. Received on Fri Apr 25 2003 - 13:16:18 CDT