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.
Determining if your ODBC driver is working correctly - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Determining if your ODBC driver is working correctly
KB0538948

Determining if your ODBC driver is working correctly


5155 Views Last updated : May 1, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Determining if your ODBC driver is working correctly 

  

Symptoms
  • Cannot connect to the instance
  • Error message received during processing
  • Queried information lost
  • Connection dropped

  

Cause
The ODBC driver may not appear to be working correctly because too many records are being pulled in a query, there are missing ACLs, or a 3rd party application is interfering with the query.

 

Resolution

First, test the ODBC driver. To do this, create the system DSN in the ODBC driver and click the Test Connection button. Details on how to test the ODBC Driver can be found here. 

 

Try running a test query that returns only one record from a table, such as a single incident. To do this, run select short_description from incident where number=‘<existing_incident_number>’; and put the incident number you are sure exists on your instance instead of <existing_incident_number>. This shows if the driver is running correctly, regardless of ACL issues or number of records. 

 

Note: The ODBC driver is not designed to pull a lot of data at a time, so any queries you run should account for this.

 

If testing a single record does not work, try running the same query and excluding 3rd party applications. 

 

To determine if the ODBC driver is working correctly by excluding 3rd party applications, follow these steps: 

  1. Open ISQL (this comes with the ServiceNow ODBC Driver).
  2. Connect to the instance using the steps identified in Running Interactive SQL (ODBC) in the ServiceNow product documentation.
  3. If you have special characters in your username or password, use the following:

    Customconnect "DSN=your_dsn_name; UID=username;PWD=password"

  4. Issue a SELECT statement to retrieve the records you are pulling in through your specific application.

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.