Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data type default values support DATE_FORMAT(NOW(),'%Y-%m...') #51031

Closed
Tracked by #50936
zimulala opened this issue Feb 7, 2024 · 0 comments · Fixed by #51076
Closed
Tracked by #50936

Data type default values support DATE_FORMAT(NOW(),'%Y-%m...') #51031

zimulala opened this issue Feb 7, 2024 · 0 comments · Fixed by #51076
Assignees
Labels
feature/accepted This feature request is accepted by product managers type/new-feature

Comments

@zimulala
Copy link
Contributor

zimulala commented Feb 7, 2024

to_char(sysdate, 'yyyymm') -> DATE_FORMAT(NOW(),'%Y-%m')
to_char(sysdate,'yyyymmdd') -> DATE_FORMAT(NOW(),'%Y-%m-%d')
to_char(sysdate,'yyyy-mm-dd-hh24.mi.ss') -> DATE_FORMAT(NOW(),'%Y-%m-%d %H.%i.%s')
to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') -> DATE_FORMAT(NOW(),'%Y-%m-%d %H:%i:%s')
trunc(sysdate,'mm') -> DATE_FORMAT(NOW(),'%Y-%m-%d')

@zimulala zimulala changed the title Data type default values support Data type default values support DATE_FORMAT(NOW(),'%Y-%m...') Feb 7, 2024
@zimulala zimulala self-assigned this Feb 7, 2024
@zimulala zimulala added type/new-feature feature/accepted This feature request is accepted by product managers labels Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/accepted This feature request is accepted by product managers type/new-feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant