Re: MySQL table design

From: Date: Fri, 23 Mar 2012 01:11:08 +0000
Subject: Re: MySQL table design
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-317195@lists.php.net to get a copy of this message
On Thu, Mar 22, 2012 at 7:42 PM, Stuart Dallas <stuart@3ft9.com> wrote: > On 23 Mar 2012, at 00:10, Chris Stinemetz wrote: > >> Is it possible to create a MySQL table with characters such as "." and >> "[]" in the column headers? If so would you explain how? > > Try putting the column names in backticks (`). > > BUT... whatever the reason why you want to do that, IT'S WRONG. > > Seriously, don't do it. It will cause you more problems than you think it will solve, and > I don't even know what problem you think it will solve. > I am just trying to preserve the source headers from the original data I want to import into the table. Thank you, Chris

« previous php.general (#317195) next »