db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Wang <touchmyheart10...@yahoo.com>
Subject how to create foreign key for a table in the schema without the speical foreign table?
Date Wed, 11 Jun 2003 05:45:43 GMT
how to create foreign key for a table in the schema
without the speical foreign table?I means:
<database>
<table name="a">
    <column name="user_id" type="INTEGER"/>
    <foreign-key foreignTable="B">
      <reference
        local="user_id"
        foreign="user_id"/>
    </foreign-key>
...
but the table 'B' is not defined in this xml file
because i defined in another xml file for generated
the diffrent packages.
What can i do?

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

Mime
View raw message