Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> help with date format !!!! urgent
in ini.ora:
NLS_DATE_FORMAT = YYYY-MM-DD
SQL> show parameter nls_date_format
nls_date_format string YYYY-MM-DD SQL> CREATE TABLE HR.T (D DATE DEFAULT '0001-01-01' NULL);
ORA-01847: day of month must be between 1 and last day of month
SQL> alter session set nls_date_format="YYYY-MM-DD";
Session altered.
SQL> CREATE TABLE HR.T (D DATE DEFAULT '0001-01-01' NULL); Table created.
changing nls_date_format has effect in session and not in system level.
Please help ! i cannot import full database because of this problem.
SQL> select * from v$version;
BANNER
![]() |
![]() |