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 |
|
Goliath
Starting Member
5 Posts |
Posted - 2006-05-05 : 05:23:38
|
| Will Sql Server always perform lazy evaluation for boolean expressions?eg. SELECT * FROM x WHERE ((X.y IS NULL) OR (X.y > 666))not evaluate the second expression in this OR statement if the first expression is already true |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2006-05-05 : 08:17:40
|
no.it always evaluates every expression.Go with the flow & have fun! Else fight the flow Blog thingie: [URL="http://weblogs.sqlteam.com/mladenp"] |
 |
|
|
|
|
|