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
execute stored proc from asp doesnt run update
Black screen of death upon turning PC On
sql server 2005 keyboard shortcuts
Cannot access LAN on Cisco Valet M10 wireless router
NFS share on FreeNAS
Cannot Replicate FREEBUSY from Exchange 2003 to Exchange 2010 - EVENT 14029, 4003,
301 redirect htaccess issue
How to delete Clonezilla Images
Do I have to be on domain to FTP?
Office Word 2007