foreign key problem
| From: | sajid jamal | Date: | Tue, 30 Jan 2001 05:17:25 +0000 |
| Subject: | foreign key problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-6246@lists.php.net to get a copy of this message | ||
hello all!
i have a little problem ,hope someone can help me out
the problem is :
let i have two tables T1 and T2 ,now T1 has following
fields
cntryid
cntryname
cntrycode etc.
now cntryid is the primary key now i want to make the
cntryid a foreign key in table T2 .so how can i do it
plz help me .
msjamal
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/