Ternary operator in Oracle PL/SQL
Abstract: we need the max of two dates
Use this:
decode((date1 - date2) - abs(date1 - date2), 0, date2, date1)
AI Cybersecurity DefCon32 developer Devoxx DevoxxBE2012 DevoxxBE2013 DevoxxFR DevoxxPL2022 DevoxxPoland DevoxxUS2017 DotAI2024 Google GoogleIO2024 Hibernate Java JavaScript JetBrains Jonathan Lalou Kotlin KotlinConf Maven Maven 2 Microservices Mule ESB NDCConferences ndcoslo NDCOslo2024 Node NodeCongress NodeCongress2021 NodeJS Oracle OxidizeConf2024 PHP Python recommendation RustLang Scala Security softwaredeveloper SoftwareDevelopment Spring Weblogic Weblogic 10
Abstract: we need the max of two dates
Use this:
decode((date1 - date2) - abs(date1 - date2), 0, date2, date1)
Powered by WordPress and WordPress Theme | Host-euro.