How to create a foriegn key in wampserver mysql
Posted by: aditi (---.hsd1.ga.comcast.net)
Date: June 14, 2009 09:21PM

Hello,
I have a table "Sample" with RowID as its primary key.
I wanna create another table named "Product" with two fields : RowID (Foreign key of Sample table ) and Friends. A RowID in this table can have more than one friends.
So how do i create a foreign key in Product table and have more than one friends associated with it in Wamp Server MySQL??
Thanks
Aditi !

Options: ReplyQuote
Re: How to create a foriegn key in wampserver mysql
Posted by: SgtLegend (---.vic.bigpond.net.au)
Date: June 14, 2009 09:39PM

Heres a MySQL reference manual for what you what to do. Scroll about half way down and they have examples

[dev.mysql.com]

Options: ReplyQuote
Re: How to create a foriegn key in wampserver mysql
Posted by: rszubi (94.249.101.---)
Date: February 07, 2010 10:07PM

How to create a foriegn key in wampserver mysql

Options: ReplyQuote
Re: How to create a foriegn key in wampserver mysql
Posted by: janisjohn@live.com (117.196.141.---)
Date: August 04, 2011 11:59AM

Hii,

How to create a foreign key using wamp server in mysql??
Thanks in advance!!!!

Options: ReplyQuote


Sorry, only registered users may post in this forum.