Re: Enclosing fields in MySQL queries with `" or '

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, March 7, 2007 1:22 pm, Dotan Cohen wrote:
>> A backtick (`) on the other hand is a mysql-ism. It allows you to
>> use
>> keywords as field names (eg `index`) amongst other things (including
>> quoting strings).

I *think* that this is actually SQL-92 specification, but don't quote
me on that.

You can use `foo` to make the SQL parser know that foo is not a
reserved word but an identifier...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux