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 'and COD_CLIENTE= and STATUS='Ativo'' at line 1 Table 'masconecta.MENSAGEM' doesn't exist 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 'AND m.SNFAVORITO = 'S' ORDER BY m.DATACADASTRO DESC' at line 3{"FIXA":[{"CODIGO":null,"TEXTO":null,"TIPO":null,"CAMINHO":"https:\/\/mas.dynamostecnologia.com.br\/servercliente\/","DATACADASTRO":null}]}