My Oracle Support Banner

RDBPROD: Query with DATE function fails with RDB-E-CONVERT_ERROR, COSI-F-INVCLADTY (Doc ID 1327232.1)

Last updated on JANUARY 03, 2019

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.2 and later
HP OpenVMS Itanium
HP OpenVMS Alpha


On a table with an ANSI DATE column defined the following error occurs:

select a_date from p_table where a_date = date'2011-05-26';

%RDB-E-CONVERT_ERROR, invalid or unsupported data conversion
-COSI-F-INVCLADTY, invalid class data type combination in descriptor

Yet the value in A_DATE is valid and can be displayed.


The table in question has just been re-created and new data added.
A record has been inserted that has picked up a time portion even though it is zero.  This can be shown by:

select a_date from p_table;
26-MAY-2011 00:00:00.00


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.