ORA-600 [prs_datetime_literal1] (Doc ID 2248261.1)

Last updated on SEPTEMBER 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

1. The below error ORA-600 is logged in the alert.log while running the following command.

SQL> select cast('DATE' as date) from dual;
select cast('DATE' as date) from dual
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [prs_datetime_literal1], [], [], [],
[], [], [], [], [], [], [], []

OR

2. Reserved words used in the column name when creating the table.

SQL> create table test2.test("DATE" date); <======= In this case, because of " " the date name will be taken as column name and I've continued my testing in the following way,

Table created.

SQL> desc test2.test
Name Null? Type
----------------------------------------- -------- ----------------------------
DATE DATE

SQL> insert into test2.test values('26-MAR-17');

1 row created.

 

SQL> select cast('DATE' as date) from test2.test;
select cast('DATE' as date) from test2.test
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [prs_datetime_literal1], [], [], [],
[], [], [], [], [], [], [], []

 

Here the column name and the datatype or same as "DATE".

 

Cause

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