SQL syntax error in MySQL unsing a cast(Partition as Signed) -


i have support application on mysql server. can´t change source code can´t change used syntax. problem syntax error this:

microsoft ole db provider odbc drivers [-2147217900] [mysql][odbc 5.1 driver][mysqld-5.6.26]you have error in sql syntax; check manual corresponds mysql server version right syntax use near 'partition signed)' @ line 1

i looked log file , found problem in line:

select *  xyz  `type`='something'  , client='{3dbea33a-9f0a-4e86-8354-f652713ea458}'  order cast(partition signed); 

i error when "cast(partition signed)" appears.

is there way configure server accept syntax?

i´m using mysql (x64) 5.6.26 innodb.

partition reserved word. http://dev.mysql.com/doc/refman/5.6/en/keywords.html

you should use backticks

`partition` 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -