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
IBM System x3400 8K-I RAID Controller query
Large Calendar
Blackberry not activinating on BES
Rpc over Https
MS CRM Duplicate Detection rule not working
Windows XP - BSOD STOP: C000021a The windows logon process terminated unexpectedly with a status of 0x00000005 (0x00000000 0x00000000)
Cant get vista to view my web site correctly!
Insert one field or value as another
Acrobat 9.3.2 crashes on loading - Windows 7 64B
Show Date time on webpage -coldfusion,jquery