khushal.solanki8 Posted November 9, 2016 Share Posted November 9, 2016 this query is work and return right result in SQLyog butdoesn't work in ireport why? SELECT *FROM traffic_monthlyWHERE STR_TO_DATE(CONCAT(MONTH,'/',YEAR),'%m/%Y') BETWEEN STR_TO_DATE('11/2015','%m/%Y') AND STR_TO_DATE('1/2016','%m/%Y'); Link to comment Share on other sites More sharing options...
hozawa Posted November 9, 2016 Share Posted November 9, 2016 What does the error message say? Link to comment Share on other sites More sharing options...
chaitanya.koli Posted November 14, 2016 Share Posted November 14, 2016 Remove semicolon (;) at end of the query. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now