Are MySQL tables relationships important ?

Find help on web databases (e.g. MySQL databases) and databases languages such as SQL.

Moderators: shynthriir, SidT

Are MySQL tables relationships important ?

Postby julien » Tue May 01, 2012 5:07 am

Hello,

I am using a relational Database (MySQL) for my developments and I was wondering whether defining MySQL table relationships was important ...
I know about its relevance to referential integrity but if my code doesn't plan any "dangerous" query, why would any referential integrity protection be important ? Does it protect your database integrity in case of hardware failure or something ? Thanks for any help on that matter, I'm in no way a MySQL expert.
User avatar
julien
Administrator
 
Posts: 413
Joined: Sun Dec 02, 2007 4:12 am

Return to Web databases

Who is online

Registered users: Exabot [Bot], Google [Bot]

cron