![](https://secure.gravatar.com/avatar/fef2c36212357b81f48efe7e25cfbf5c.jpg?s=120&d=mm&r=g)
On Tue, Nov 27, 2007 at 11:35:35AM -0700, m h wrote:
create sequence seq as integer; select next value for seq;
Ok, (sorry if I'm being slow). So if a table has an autoincremented column, is that using sequences? Can I pull the next value out using SQL?
auto_increment uses (anonymous) sequence numbers and its default value is set to 'next value for';
Great. Is there a way to ask sequences for the previous value? Or is it only next?
only next.
Niels
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users