IBM Support

Cognos SQL text expression against Greenplum using ODBC driver throws error "RQP-DEF-0403 Using a blob column in this query requires that the query subject X must have either a key or a unique index."

Troubleshooting


Problem

With Cognos Framework Manager or Report having custom expressions with static SQL text below -
SELECT 'OPEN' as STATUS 
FROM TABLE
Run against Greenplum database over an ODBC driver will encounter the error -
RQP-DEF-0403 Using a blob column in this query requires that the query subject X must have either a key or a unique index.

Symptom

RQP-DEF-0403 Using a blob column in this query requires that the query subject X must have either a key or a unique index.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl6nAAC","label":"Data Sources"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
15 January 2026

UID

ibm16579399