db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Montoya Martínez (JIRA) <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-712) Support for sequences
Date Mon, 17 Apr 2006 21:39:18 GMT
    [ http://issues.apache.org/jira/browse/DERBY-712?page=comments#action_12374817 ] 

Mario Montoya Martínez commented on DERBY-712:

There's a way to get the current value of a sequence in Oracle.


Is that what you need?

> Support for sequences
> ---------------------
>          Key: DERBY-712
>          URL: http://issues.apache.org/jira/browse/DERBY-712
>      Project: Derby
>         Type: New Feature

>   Components: SQL
>  Environment: feature request 
>     Reporter: Tony Dahbura

> Would like to see support added for sequences.  This would permit a select against the
sequence to always obtain a ever increasing/decreasing value.  The identity column works fine
but there are times for applications where the application needs to obtain the sequence number
and use it prior to the database write.  Subsequent calls to the table/column would result
in a new number on each call.
> SQL such as the following:
> SELECT NEXT VALUE FOR sequence_name FROM sometable ; would result in a next value.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message