Re: Re: mdb2 autoexec

From: Date: Fri, 07 Jul 2006 07:59:18 +0000
Subject: Re: Re: mdb2 autoexec
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24591@lists.php.net to get a copy of this message
Massimiliano Arione wrote:
Mark Steudel wrote:
Thanks Lukas, I opted to change it away from a reserved word.
What if you rename it in "foobar" and one day you want to move to a different database system and discover that "foobar" is a reserved word for it? IMHO this leak completely breaks the supposed portability of MDB2
Well there are certain words that have a higher probability to be reserved words. As I mentioned there is also the option of quoting identifiers. Also MDB2_Schema supports checking your schema against lists of reserved words from multiple RDBMS to reduce this chance even further. regards, Lukas

« previous php.pear.general (#24591) next »