In my code above all things are working well, but when I search it is giving me an error:
DataTables warning: table id=tabela – Erro ao executar a consulta: SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error )