Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-00997: illegal use of LONG datatype for an Interactive Report

David CleverlyOct 24 2019 — edited Oct 29 2019

Hi,

I am trying to create an Interactive Report on the user_constraints table.

If I use the local table it works correctly but if I use:

SELECT

    CONSTRAINT_NAME,

    CONSTRAINT_TYPE,

    SEARCH_CONDITION

FROM

    user_constraints@SCHEMA

WHERE

    TABLE_NAME = :P3_TABLE;

via a database link it returns ORA-00997: illegal use of the LONG datatype.

However if you run the query in the Apex SQL Workshop it works correctly.

Any thoughts on if this can be resolved would be greatly appreciated.

Kind Regards

Dave

Comments
Post Details
Added on Oct 24 2019
8 comments
11,441 views