Q: What does the error message "Invalid host element" mean?

A: The "Invalid host element" will occur when:

  1. There is bind NULL value in a where statement.

  2. There is bind longvarchar in a where statement.

  3. A Datatype is incompatible.