Binary Myth
Wednesday, November 24, 2010
SQL Server Arithmetic Operators (%)
(
%
)
modulo
oper
ator is
used to get the remainder of one number.
Select 47 / 7 AS IntValue, 47 % 7 AS RemValue;
Result: 6, 5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment