Answer: Modulo Operator also known as Percent Sign(%) in Sql Server produces the Remainder of One Number Divided by Another Number.It's a simple airthmetic operation where 1 value is divided by another value and reminder will be the output.
Syntax:
dividend % divisor
Where,Dividend is the numeric expression to divide.It must be any Numeric data type in Sql Server.
Divisor must also be the numeric value which will be used to divide the dividend.
Asked In: Many Interviews |
Alert Moderator