No need to answer...I finally understood.
He is kind of joining with the table that he is creating.

- rami

On 09/06/2011 09:33 PM, Rami Ojares wrote:
So what is it in Vasile Rotaru's example that does not exist?
I mean he is referring only to table accounting_period in his constraint
just like I am referring to table C.

- rami

On 09/06/2011 09:29 PM, Thomas Mueller wrote:
Hi,

Tables A and B already exist when you create table C.

"Check constraints can only reference objects that exist while the
statement is executed."

Regards,
Thomas



--
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.

Reply via email to