excel - Date format is changing in SQL developer -
I have to import excel data into the Oracle database through SQL Developer. I will format the date in Excel in standard oracle format. Has changed (DD_MON_YYYY HH: MI: SS AM). But while importing SQL Developer, this date format is not reflecting, before I change the format, it is giving original date format in axle. How can I change the format?
Excel data:
In SQL Developer:
For my knowledge, your import is fine. The importance of the date format is to identify the date fields as a date field when you are importing the data to the database, after the import, the database keeps the date value in a default date format. So when you are retrieving data, you have to specify the date format in your query that you want in other words, use a query to get data in the database.
Ex:
Select to_date from table_name (date_field, 'DD_MON_YYYY')
Comments
Post a Comment