Sorry, let me take that back.
For the record, its ALTER TABLE <name> ADD FOREIGN KEY (....
It works correctly as documented. There is a problem with my
documentation parsing logic.
Thanks,
Jesse
On 27/06/2011 12:59, Jesse Long wrote:
Hi,
The grammar on the H2 website seems to indicate that the name of a
foreign key constraint added with ALTER TABLE ADD CONSTRAINT <name>
FOREIGN KEY (.... is optional. It seems it is not optional. (1.2.147)
Thanks,
Jesse
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.