Apr 4, 2006 #1 icemel MIS Oct 17, 2005 463 US Doesn't SQL Server have a mod function? If not, what else is there? Thanks
Apr 4, 2006 #2 gmmastros Programmer Feb 15, 2005 14,910 US Use % for mod Select 10 % 3 -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom Upvote 0 Downvote
Use % for mod Select 10 % 3 -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
Apr 4, 2006 #3 SQLDenis Programmer Oct 1, 2005 5,575 US SQL server has % (Modulo) select 12 % 4,12 % 5 Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
SQL server has % (Modulo) select 12 % 4,12 % 5 Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Apr 4, 2006 #4 SQLBill MIS May 29, 2001 7,777 US What do you mean by MOD? If you mean modulo, then it's the % sign. Example: 5 % 2 = 1 -SQLBill Posting advice: FAQ481-4875 Upvote 0 Downvote
What do you mean by MOD? If you mean modulo, then it's the % sign. Example: 5 % 2 = 1 -SQLBill Posting advice: FAQ481-4875
Apr 4, 2006 #5 gmmastros Programmer Feb 15, 2005 14,910 US [tt] [/tt] -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom Upvote 0 Downvote
Apr 4, 2006 #6 SQLBill MIS May 29, 2001 7,777 US Lost the race again........ But I'm not sure the poster really meant modulo. -SQLBill Posting advice: FAQ481-4875 Upvote 0 Downvote
Lost the race again........ But I'm not sure the poster really meant modulo. -SQLBill Posting advice: FAQ481-4875
Apr 4, 2006 Thread starter #7 icemel MIS Oct 17, 2005 463 US Hey, I think I get it! Thanks ;-) Upvote 0 Downvote