rubing Posted May 2, 2008 Share Posted May 2, 2008 Why should i use those funny slashes ` instead of apostrophes ' in my SQL queries? Is there any info on this anywhere?? THanks Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted May 3, 2008 Share Posted May 3, 2008 The back sticks are for when you have a field name that is a MySQL reserved word. If you put them around that field, you won't get an error. Apostrophes are for putting around variables. There could be another use for back sticks, but that is the one I'm aware of. Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted May 3, 2008 Share Posted May 3, 2008 see http://www.mysql.com/identifiers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.