Thread: query question
View Single Post
Old 04-21-2008, 08:46 PM   #5 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,296
Thanks: 17
Village Idiot is on a distinguished road
Default

Ticks mark a user defined entity, I would use them. It prevents errors like this
Code:
SELECT * FROM from WHERE join = '1';
That will generate a syntax error since from and join are both commands. This, however, will run without error
Code:
SELECT * FROM `from` WHERE `join` = '1';
It also makes the code easier to read.
__________________

Village Idiot is offline  
Reply With Quote