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 |
cplusplus
Aged Yak Warrior
567 Posts |
Posted - 2013-01-08 : 17:49:40
|
I am having an issue with the below where condition, when i use OR it is not working. Even when i do or 1=1 is also not working, is there an alternate way to use without getting or.(FISCYR = 2012 and (MACCOUNT = 3600 and SACCOUNT <> 800)) OR (MACCOUNT >= 3000 and MACCOUNT <= 3500)Thanks a lot for the helpful info. |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2013-01-08 : 23:31:43
|
What did you mean by "It is not working"?MadhivananFailing to plan is Planning to fail |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-01-08 : 23:41:55
|
first tell us with some sample data what exactly is your requirement------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|