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 might fail to retrieve specific records on tables without a sys_id field - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • ODBC might fail to retrieve specific records on tables without a sys_id field
KB0745392

ODBC might fail to retrieve specific records on tables without a sys_id field


405 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

Tables without sys_id on their records cannot be queried correctly using ODBC. Using SOAP/REST message, it will retrieve the data without problems.

Steps to Reproduce

Using ODBC, open and query the pa_scores_l1 table.

 SELECT ID FROM pa_scores_l1 WHERE dv_indicator = ('UpdateSets Pulled');


This returned 4 rows including the record with ID 85417 (on this case)
However when viewing the table as a .list view, it displays 435 results.

If you select a specific record from the .list view to query with odbc for example:

 SELECT ID FROM pa_scores_l1 WHERE ID = '85630';

No record is returned - even though you're able to query using soapui and see it on the .list view.

Workaround

Do not use ODBC to export tables with no sys_id. Instead use the REST API or SOAP API to export those records.


Related Problem: PRB1333748

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.