My sql error - (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near)

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near


You can easily find error by identifying remaining part of error .The error in your mysql query is in the first character of the remaining error .

For example error in the following message must be near word "long"

Eg:- "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long,buy,credit,bankrupt,discharged,forclosure,lforclosure,home_loan,payment,mpa' at line 1"

0 comments: