Hi,

Yes it works, but you shouldn't rely on it if possible. Do you need this
feature?

Regards,
Thomas

On Monday, March 25, 2013, EungJun Yi wrote:

> Hi, all.
>
> According to the SQL Grammar of H2, while creating a sequence, a token
> following START WITH should be only Long.[1]
>
> But as far as I have tested, using a token which is not Long does not make
> any error, like below:
>
>     CREATE SEQUENCE article_seq START WITH old_article_seq.currval;
>
> Does that work correctly?
>
> [1]: http://www.h2database.com/html/grammar.html#create_sequence
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({},
> 'cvml', 'h2-database%[email protected]');>.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> Visit this group at http://groups.google.com/group/h2-database?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to