Why Does SQL That Runs Fine From The Command Line Return No Rows When Used In A Quality Action? (Doc ID 2305656.1)

Last updated on SEPTEMBER 08, 2017

Applies to:

Oracle Quality - Version 12.1.3 to 12.2.7 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Goal

 SQL that runs fine from the command line Return No Rows When Used In A Quality Action


1. The data/value in the tables column is stored in mixed lower/upper case.  (ie AAbbCCdd)
2. The operand value from SQL is changed from:
WHERE column name  = 'AAbbCCdd'
to
WHERE FFVS.FLEX_VALUE_SET_NAME = 'AABBCCDD'

So, when run from the command line or a package such as SQL*Developer, the SQL returns rows.

When run from a Quality Action, the SQL returns zero rows

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms