Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make relations inside between mysql database tables

 
Hemant Agarwal
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to make relations inside between mysql database tables.
 
Annie Smith
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hemant Agarwal:
How to make relations inside between mysql database tables.


Your description is confusing. What exactly do you want to do?

I think you should refer here
 
Hemant Agarwal
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to relate one table to another with foreign keys
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • Make sure you are using a version of MySQL that supports Foreign Keys (amazingly, this is only a recent feature)
  • Add a foreign key constraint as per the documentation.


  • [ December 20, 2005: Message edited by: Paul Sturrock ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic