*****ERROR*****
Error 0001.
[Microsoft][ODBC SQL Server Driver]Communication link failure
SELECT * FROM Agenda WHERE (Fecha >= '01/2/2018' AND Fecha <= '01/3/2018') OR (FechaFin >= '01/2/2018' AND FechaFin <= '01/3/2018') Or (Fecha <= '01/2/2018' AND FechaFin >= '01/2/2018') AND ( isnull(id_Ayuntamiento,0)=228 OR (isnull(id_Ayuntamiento,0)=0 AND ISNULL(qv429.Agenda.Pais,'ES')='ES'))