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
IPSEC access into ASA via second Internet connection
dateDiff - combining a date selection and a time selection
Airport Code with reverse geo coding with google maps api
Excel File Help
Adding and removing series for an Excel graph using VBA
Imaging a RAID Setup to a Non-RAID Disk
jQuery Autocomplete with PHP / MySQL [PART 2]
Installing SSL certifcate on exchange 2010
Unable to access OWA
New Hire Workflow in WSS