db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: <foreign-key> to another db
Date Tue, 30 Aug 2005 20:14:46 GMT
Hi,

I'm not totally sure, but I would guess this does not work. However, with 
3.2-RC1, there is the possibility to include one schema into another. I 
have never used it, but it might work then (I would try it without using 
the db2 prefix)

    Thomas

On Sun, 28 Aug 2005, Mickey Mokotov wrote:

> Hi All,
>
> Can in any way we support the <foreign-key> tag to reference another db?
> for example:
>
> <database name="db1">
>
>  <table name="t1">
>    <column name="userId" type="INTEGER" primaryKey="true"
> autoIncrement="true"/>
>    <column name="countryId" type="INTEGER"/>
>    <foreign-key foreignTable="db2.Country">
>      <reference local="countryKey" foreign="symbol"/>
>    </foreign-key>
>  </table>
>
> </database>
>
>
> -- 
> <http://www.fetchbook.info/> www.FetchBook.Info
> Find the lowest price - Compare more then a hundred book stores in a click.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message