1
Answer

Sql Server

Namit Kumar

Namit Kumar

9y
659
1
why following T-SQL gives a famous divide by zero error.

SELECT 10000/(17/17/17) AS Result2;

When we execute above query it gives following error:

Msg 8134, Level 16, State 1, Line 1 Divide by zero error encountered.
Answers (1)