Although it's a very good idea NOT to use reserved words as identifiers, you can if you wish, AS LONG AS they are surrounded by the identifier quote character, which is the backtick. You'll notice that all queries generated by MySQLAdmin automatically use them.
See
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
It may be a mysql forum, but we've slid as far as PHP code, shell, MSSQL and other weird things over the last few years, so clarifying these points is always a benefit to those who may cross-platform from time to time
______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
True enough John, I just see so many editors that use backticks that people might think they are standard. they may be using mysql for this specific project, but have another platform at work that won't accept them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.