Database error

Querying the database returned the following error:

Error: [-2147217913] Data type mismatch in criteria expression.

Error: [-2147217913] Data provider failed while executing a provider command.