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

Incorrect syntax near ')'.

/obsolete/CES_Consultation.asp, line 787