List:General Discussion« Previous MessageNext Message »
From:RuiSMonteiro Date:July 22 2004 11:34am
Subject:Foreign keys
View as plain text  
Hello there,
 
I have a table that with a TEXT filed as a primary key.
 
I can't make a foreign key of this field on another table, why does this happens?
 
Ex:
 
Product ---
| ref - text, PK
| name - text
| ....
 
ProductsList
| ID int, PK
| profref - foreign key of the table product
| ....
 
 
Thanks for the help

 
Thread
Foreign keysRuiSMonteiro22 Jul
  • Re: Foreign keysMartijn Tonies22 Jul