Re: Discussion: the efficiency in using foreign keys

2006-03-20 Thread Foo Ji-Haw
I've always been a believer in avoiding sql procedures, for the main reason that I want to be as database-independent as possible. I know it is less efficient, but being able to switch between MySQL, Postgre, and the new freebies from IBM, Oracle, and Microsoft is a strong advantage from the bu

Re: Discussion: the efficiency in using foreign keys

2006-03-20 Thread mysql
le. Keith In theory, theory and practice are the same; in practice they are not. On Mon, 20 Mar 2006, Martijn Tonies wrote: > To: mysql@lists.mysql.com > From: Martijn Tonies <[EMAIL PROTECTED]> > Subject: Re: Discussion: the efficiency in using foreign keys > > Hi, > &g

Re: Discussion: the efficiency in using foreign keys

2006-03-19 Thread Martijn Tonies
Hi, > This is a fundamental concept in RDBMS: the use of foreign keys in > database design. > > I'd just like to poll the community here, on whether it is a best > practice, or practically essential to 'link' related tables by use of > foreign keys. > > For myself, I usually do all the validi

Re: Discussion: the efficiency in using foreign keys

2006-03-19 Thread Foo Ji-Haw
th In theory, theory and practice are the same; in practice they are not. On Mon, 20 Mar 2006, Foo Ji-Haw wrote: To: mysql@lists.mysql.com From: Foo Ji-Haw <[EMAIL PROTECTED]> Subject: Discussion: the efficiency in using foreign keys Hi all, This is a fundamental concept in RDBMS: the

Re: Discussion: the efficiency in using foreign keys

2006-03-19 Thread mysql
Keith In theory, theory and practice are the same; in practice they are not. On Mon, 20 Mar 2006, Foo Ji-Haw wrote: > To: mysql@lists.mysql.com > From: Foo Ji-Haw <[EMAIL PROTECTED]> > Subject: Discussion: the efficiency in using foreign keys > > Hi all, > > This is a

Discussion: the efficiency in using foreign keys

2006-03-19 Thread Foo Ji-Haw
Hi all, This is a fundamental concept in RDBMS: the use of foreign keys in database design. I'd just like to poll the community here, on whether it is a best practice, or practically essential to 'link' related tables by use of foreign keys. For myself, I usually do all the validity checki