Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

String Date conversion using SQL Date formats

BilalFeb 16 2021

Hi all,
Oracle Database 19c.
I receive date values in the following format: 2021-02-16T15:42:41Z which I want to convert into the database timestamp with timezone column. I don't have practical experience of working with such data types. How can I convert this value into traditional Data or Timestamp or Timestamp with timezone formats for onward insertion into the database?
I tried the TO_CHAR function but no luck.
Any help will be greatly appreciated.
Many Thanks and
Kind Regards,
Bilal

This post has been answered by mathguy on Feb 16 2021
Jump to Answer
Comments
Post Details
Added on Feb 16 2021
5 comments
2,277 views