Reply to Re: How do I escape parentheses in a mysql query?

Your name:

Reply:


Posted by Andy Hassall on 07/16/07 00:59

On Sun, 15 Jul 2007 20:31:54 -0400, Jerry Stuckle <jstucklex@attglobal.net>
wrote:

>> You should use single quotes for strings in SQL, not double quotes. Double
>> quotes are supposed to be for quoting table and column names ("identifiers").
>> MySQL can, in some cases, accept either, but you should stick with the right
>> one to avoid potential trouble, and to stay closer to standard SQL conventions.
>
>No back ticks are for quoting table and column names. Double quotes are
>a non-standard MySQL extension to the spec (and will fail if MySQl is
>running in strict ANSII SQL mode).

Other way around. Backticks are a non-standard MySQL extension. The standard
is double quotes.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original 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

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