Saturday, July 23, 2011

Modulo operator in SQL Server


Modulo provides the integer remainder after dividing the first numeric expression by the second one.
print 'remainder ' + cast(112 % 17 as char)

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Deep's | Bloggerized by Deep - Deep's Templates | ElearSQL-Server