Note: According to Oracle, the changes on the server and client-side are automatically performed starting with Oracle 8.1.6, also referred to as Oracle 8i Release 2. Check your individual operation system installation release notes for more details.
This document describes how to modify 1) the init.ora file of your database server and 2) your Windows client. These modifications allow Oracle to interpret the two-digit year correctly.
The init.ora file is the Oracle database initialization file. The name of this file can vary, but throughout the Oracle documentation, it is typically referred to as the init.ora or init.ora file. Depending on the Oracle installation, this file is often called initorcl.ora or some similar name the Oracle database administrator assigned.
Following are the steps to modify the file.
An excerpt of an example init.ora file is listed below for your reference:
############################################################################## ... db_files = 1024 NLS_DATE_FORMAT="DD-MON-RR" control_files = C:\orant\DATABASE\ctl1ORCL.ora # db_file_multiblock_read_count = 8 # INITIAL ... ##############################################################################
These instructions are only relevant for machines running an Oracle 32-bit client (Windows 95, NT, etc.).
View this image at full size (872 px by 517 px, 19 kb).
Although Windows NT, Win95 etc. can run 32-bit clients, some users may use Oracle 16-bit applications, such as Oracle Financials. Oracle 16-bit clients do not use the Windows registry, instead you need to modify the oracle.ini file. You should only have one oracle.ini file and the location is determined by the WIN.INI section entry for [ORACLE].
[ORACLE]
ora_config=c:\oraclexxx\oracle.ini
The oracle.ini file (often c:\orawin16\oracle.ini) should contain an entry like the following:
[Oracle]
NLS_DATE_FORMAT=DD-MON-RR