Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > Incorrect syntax SQL exception error after upgrade

Incorrect syntax SQL exception error after upgrade

Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 14 Votes: 0 Revisions: 11

Overview

Resources that use custom SQL queries such as reports or the Custom Query resource return an exception error citing incorrect syntax.

 6262_error.png

Environment

All version of Orion products released after November 2007

 

Cause

This occurs when using lowercase clauses in custom queries on products running in an Orion product that was released after November 2007. Examples are provided below:

For example, the following clause will return an error:

where Nodes.Caption='192.168.10.228'

The following clause will work as expected in this manner:

WHERE Nodes.Caption='192.168.10.228'

Resolution

Modify your SQL queries to use uppercase for SQL clauses.

Last modified
22:30, 22 Jun 2016

Tags

Classifications

Public