#100CodeExamples
Dead easy NULL-aware comparison in Oracle with DECODE
One of the probably most unnerving things in databases is dealing with NULLs, especially when comparing data. The necessary logic to deal with NULLs can lead to very verbose code – but if you’re using Oracle, there is a very neat function you can use.