SomeRandomInteger = CHECKSUM(NEWID()) % @Range + @StartValue
select x = -1111%100
x ----------- -11
SELECT -1111 % 100, 1111 %-100, -1111 %-100
----------- ----------- ------------11 11 -11(1 row(s) affected)