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.
SQL Error returned on the policy form in CMDB workspace - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • SQL Error returned on the policy form in CMDB workspace
KB1645608

SQL Error returned on the policy form in CMDB workspace


284 Views Last updated : Dec 11, 2024 Internal, Customer, public Copy Permalink
KB Summary by Now Assist

Description

Following SQL error is returned on opening Data manager policy within CMDB workspace:

Syntax Error or Access Rule Violation detected by database ((conn=242301) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct cmdb0.`sys_id` HAVING count(sj0.`sys_id`) = 0 ) sub 

Steps to Reproduce

  1. Navigate to CMDB Workspace.
  2. Navigate to Data Manager
  3. Open a data manager policy
  4. View the SQL error on the top:

Syntax Error or Access Rule Violation detected by database ((conn=242301) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct cmdb0.`sys_id` HAVING count(sj0.`sys_id`) = 0 ) sub /* 

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

This error won't break anything. Please close the error message and it should no longer re-appear within the same session.


Related Problem: PRB1731418

Potentially Seen In

There is no data to report.

Fixed In

Washington DC Patch 5
Xanadu

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.