SQLServerでNVL(NULL置換)

SQLServerでは、OracleやInformix等でNULL置換を行うNVL関数が存在しない。

SQLServerの場合は、「IsNull」となる。

上記は列の内容がNULLの場合に「0」に置換している。

 

 

おすすめ

コメントを残す

This site uses Akismet to reduce spam. Learn how your comment data is processed.