Works for me:

CREATE TABLE T1(PK VARCHAR PRIMARY KEY);
CREATE TABLE T2(FK BIGINT REFERENCES T1);
insert into t1 values ('1');
insert into t2 values (1);

On 2013-06-27 13:35, Rami Ojares wrote:
CREATE TABLE T1(PK VARCHAR PRIMARY KEY);
CREATE TABLE T2(FK BIGINT REFERENCES T1);

--
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to