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
Post a Comment