Oracle ORA-01810: format code appears twice

Problem Description:

ORA-01810: format code appears twice

problem analysis:

1. Use to_date('2021-03-24 00:00:00','yyyy-MM-dd HH:mm:ss') in sql to convert to date type and report an error.

Solution:

to_date('2021-03-24 00:00:00','yyyy-MM-dd HH24:mi:ss')

 

Guess you like

Origin blog.csdn.net/qq_38974638/article/details/115178716