You are here: Re: numeric column names in mysql? « PHP Programming Language « IT news, forums, messages
Re: numeric column names in mysql?

Posted by Tom Thackrey on 03/13/06 04:31

On 12-Mar-2006, veg_all@yahoo.com wrote:

> i am trying to create a table with a column name called 2004. But I
> keep getting a mysql error? Is there any workaround?

enclose the column name in back ticks e.g. `2004`

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация