SQL Server Performance

Modulus Function

Discussion in 'T-SQL Performance Tuning for Developers' started by Madhivanan, Nov 18, 2004.

  1. Madhivanan Moderator

    Hi, Is there any function in SQL to find the modulus? eg 123 mod 5 is 3

    Madhivanan
  2. satya Moderator

  3. Madhivanan Moderator


    Thanks satya. That one is very helpful.

    Madhivanan
  4. mmarovic Active Member

    select 123%5

Share This Page