Case Statement - Best Practice - Close with Else Null? [message #612750] |
Thu, 24 April 2014 09:46 |
|
smedvid
Messages: 5 Registered: April 2014
|
Junior Member |
|
|
Greetings...
I have assumed a set of SQL Code that is massive in size. I have found that Case Statements are not consistent in design. In some instances, the Case Statements have a "Else Null" (properly closing the conditions). In other times there is no Else condition. I am under the believe that NULL is the Oracle Default if "Else ..." is not used. I cannot locate any Oracle Documentation on this belief!
Or >> Is it best practice to rework; and add "Else Null" to all Case Statements to formerly close conditions?
I look forward to your input. tia...
|
|
|
|
|