Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'and'.

D:\VHOSTS\PASMANDROBATKARIM.IR\WWW\INC\../core/functionsview/pages.asp, line 5