How to avoid divide by zero in SQL Server||SQL Server #sqlserver #dividebyzero

preview_player
Показать описание
Divide By Zero in SQL||NULLIF||SQLSERVER||Interview question||SQLISEASY

#nullif #error #sqlserver #dividebyzero
#interviewquestions
Рекомендации по теме
Комментарии
Автор

crazy!
Simple but valuable sir,
Tnx

wasworldassociatesoftware
Автор

Cool video! I have a question if anyone can help with.
Now I know we can't divide 0 by 0. However, what about dividing 0.1 by 0.
Even after I use the IFNULL I still get the error message as the IFNULL does not make the 0.2 into NULL.
Any advice will be much appreciated :D

lazaros.v