skew Posted July 29, 2011 Share Posted July 29, 2011 In other programming languages and DBMS, strings are typically represented by either a ' sign or a " sign. In contrast to MySQL, these two sign are not used to represent a string. The ` sign is curiously used. This is in my opinion very uncommon in the programming world. Also in speaking languages (English, German for example) this sign is uncommon. Which reasons had led to this decision? Quote Link to comment https://forums.phpfreaks.com/topic/243190-why-mysql-uses-this-syntax/ Share on other sites More sharing options...
Pikachu2000 Posted July 29, 2011 Share Posted July 29, 2011 No it isn't. the ` backtick is used to enclose table and field names, and isn't strictly necessary unless that table or field name is also a MySQL reserved word. Quote Link to comment https://forums.phpfreaks.com/topic/243190-why-mysql-uses-this-syntax/#findComment-1249038 Share on other sites More sharing options...
fenway Posted July 29, 2011 Share Posted July 29, 2011 It's an identifier quote character. Quote Link to comment https://forums.phpfreaks.com/topic/243190-why-mysql-uses-this-syntax/#findComment-1249064 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.