Last active
March 10, 2019 12:17
-
-
Save ezhov-da/b09e17ed269e5cd2be8a417065279ff3 to your computer and use it in GitHub Desktop.
sql oracle convert varchar to date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--https://www.techonthenet.com/oracle/functions/to_date.php | |
SELECT TO_DATE('2015/05/15 8:30:25', 'YYYY/MM/DD HH:MI:SS') FROM dual; | |
SELECT TO_DATE('20150515_18:30:25', 'YYYYMMDD_HH24:MI:SS') FROM dual; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment