Microsoft OLE DB Provider for SQL Server error '80040e14'

Incorrect syntax near the keyword 'OR'.

\\HOSTING\DFS\20\4\8\0\2079480084\USER\SITES\RV2BUY.COM\WWW\VEHICLE\../includes/CommonFunctions.inc, line 3427