Syntax error, unexpected token AND, near to ' INEWS_ID > 5713 ORDER BY INEWS_ID ASC LIMIT :APL0:', when parsing: SELECT [SupNewsDetails].* FROM [SupNewsDetails] WHERE INEWS_STATUS=1 AND INEWS_ID<>5713 AND ICATEGORY_ID= AND INEWS_ID > 5713 ORDER BY INEWS_ID ASC LIMIT :APL0: (160)