Oracleã§ã¯NULLå¤ãå¥ã®å¤ã«å¤æããã«ã¯ãNVLé¢æ°ã使ç¨ãã¾ããSQL Serverã®å ´åã¯ISNULLé¢æ°ã使ç¨ãã¾ãã使ãæ¹ã¯NVLã¨ISNULLã¯åãã§ãã æ§æï¼ NVL(a, b) aãNULLå¤ã§ãªãå ´åã¯aãè¿ããaãNULLå¤ã®å ´åã¯bãè¿ãã 使ç¨ä¾ï¼æ§å¥ãä¸æ(NULL)ã®å ´åã¯unknownã¨è¿ã SELECT name, gender, NVL(gender, âunknownâ) FROM tbEmpTable; nameãããããgenderãããããããNVL(gender, âunknownâ) âââââââââââââââââââ Yamadaãããããmaleããããããããmale Tanakaããããããfemaleãããããããfemale Okitaããããããããããããããããããunknown Kawaiãããããããfemal
{{#tags}}- {{label}}
{{/tags}}