Microsoft
Software
Hardware
Network
Question : multiple conditions in WHILE
what is wrong in the foll syntax:
WHILE (@Var1 < 1 AND @Var2 < 1)
This does not seem to be honored. When any one of the variable become >1, the loop breaks.
thanks
Answer : multiple conditions in WHILE
exactly.
when any of the 2 > 1, you have:
WHILE ( false AND true ) which is FALSE
you seem to want:
WHILE (@Var1 < 1 OR @Var2 < 1)
Random Solutions
Slipstream all updates into new wim.image / win 7 install DVD
Q945119 - storport.sys 5.2.3790.4189
which one is best ?
Apache2 name-based virtual host & SSL
How to connect Hyper-V Server 2008 R2 to Cluster Shared Volumes
The future of VBA
INSTALL - SQUID getting "pam_auth.c:133: warning: initialization from incompatible pointer type"
Win 2003 server dns
Carrier Unlock for iPhone 3GS iOS 4.0.1 (8A306)
Outlook 2003 Free/Busy