Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
ODBC queries against database views fail with errors - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • ODBC queries against database views fail with errors
KB0549683

ODBC queries against database views fail with errors


4670 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Querying a database view using the ODBC driver fails and results in an error.  

Symptoms

When you issue a query against a database view, you receive one of the following error messages, depending on the version of the driver:    

  • [DataDirect][ODBC OpenAccess SDK driver][OpenAccess SDK SQL Engine]com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]
  • [SN][ODBC ServiceNow driver][OpenAccess SDK SQL Engine]Cannot execute the query.Cannot processe keys. [tableName=incident_sla]
  • [SN][ODBC ServiceNow driver][OpenAccess SDK SQL Engine]Cannot execute the query.Cannot processe getKeys SOAP response. Please see the ODBC log file for more details. [tableName=incident_sla] 

Additionally, the instance log files contain the following entries:

Problem processing asynchronous servlet request: java.lang.StackOverflowError: com.glide.db.conditions.CompoundCondition.clearJoins(CompoundCondition.java:95)
com.glide.db.conditions.QueryCondition.clearJoins(QueryCondition.java:942)
com.glide.db.conditions.CompoundCondition.clearJoins(CompoundCondition.java:97)
com.glide.db.conditions.CompoundCondition.clearJoins(CompoundCondition.java:97)
com.glide.db.conditions.CompoundCondition.clearJoins(CompoundCondition.java:97)
com.glide.db.conditions.CompoundCondition.clearJoins(CompoundCondition.java:97)


Cause

An error in the underlying platform layer occurs. This error is independent of the ODBC driver.

Resolution

Set the BatchSize ODBC Administrator property value to 500. Values greater than 500 should be tested with your specific configuration.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.