Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Mod Function

Author  Topic 

LopakaB
Starting Member

22 Posts

Posted - 2008-04-18 : 17:21:34
Is there a mode function in SQL2000?

Lopaka

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-04-18 : 17:27:50
Yes.


E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-04-18 : 17:28:04
Try %.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-04-19 : 03:19:34
It actually does the following

declare @num1 int, @num2 int
select @num1=19,@num2=7
select @num1-@num1/@num2*@num2


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -