The date on the ORACLE DB is in the form of 202201241201 (YYYYMMDDHHMI) in CHAR format. I'd like to convert this to date format using TO_DATE function in Python's query statement Is there a way to convert the entire column and get it instead of just one specific column?
oracle
SELECT TO_DATE(column1, 'YYYYMMDDHHMI') as column1date
FROM table1;
© 2025 OneMinuteCode. All rights reserved.