Hi,
When a new Table is being created in Oracle 8 and a column for datatype - Date is to be created , the standard format for inserting VALUES into the column after the table has been created is - 'dd-mon-yy' , here the Century is not entered , only the last two digits of the year are entered like - '12-Jan-95' , IF ONE TRIES TO ENTER THE FULL YEAR LIKE '12-Jan-1995' THEN IT IS NOT ACCEPTED AND AN ERROR IS SHOWN .
How can one change the date format while creating a table so that the full year - '12-Jan-1995' could be entered and it is accepted by Oracle ?
Also , How one can UPDATE prevoiusly created columns with date format - '12-Jan-95' to '12-Jan-1995' ?
Thanks.
When a new Table is being created in Oracle 8 and a column for datatype - Date is to be created , the standard format for inserting VALUES into the column after the table has been created is - 'dd-mon-yy' , here the Century is not entered , only the last two digits of the year are entered like - '12-Jan-95' , IF ONE TRIES TO ENTER THE FULL YEAR LIKE '12-Jan-1995' THEN IT IS NOT ACCEPTED AND AN ERROR IS SHOWN .
How can one change the date format while creating a table so that the full year - '12-Jan-1995' could be entered and it is accepted by Oracle ?
Also , How one can UPDATE prevoiusly created columns with date format - '12-Jan-95' to '12-Jan-1995' ?
Thanks.