What is Modulo Operator in Sql Server?

 Posted by vishalneeraj-24503 on 2/3/2015 | Category: Sql Server Interview questions | Views: 381 | Points: 40

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.
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 

Comments or Responses

Login to post response