Home Forums Article Discussions Article Discussions by Author Discuss content posted by Mark Tillman The Percent Sign in T-SQL RE: The Percent Sign in T-SQL
mtassin
SSC-Insane
Points: 23099
More actions
February 28, 2011 at 8:02 am
#1292328
I got this right but...
SELECT 0%0
gives
Msg 8134, Level 16, State 1, Line 1
Divide by zero error encountered.
So it seems you can use it to divide 0 by 0 and get an error.