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.
| Author |
Topic |
|
mikeynero
Starting Member
2 Posts |
Posted - 2010-08-06 : 14:15:25
|
| Hello,I recently saw this syntax in a book and am not keen on it. Can anyone explain? This constraint for sure filters our records, I am not keen on the % syntax here. Thankswhere OrderID % 2 = 1Michael Nero |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-08-07 : 04:50:27
|
| In other words, it'll return all records where OrderID is odd.--Gail ShawSQL Server MVP |
 |
|
|
mikeynero
Starting Member
2 Posts |
Posted - 2010-08-07 : 13:11:58
|
| Thank you all for the inputMichael Nero |
 |
|
|
|
|
|