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
weblogic portal 10.3.2
CreateProcess terminates immediately
Php SOAP-ERROR: Parsing WSDL
I need to adapt VB script to run on SQL Server
Trouble with Menu Drop Down Form
Question about little code snippet
Access 2007, form datasheet view, change display property of an element based on another element in the record
Return a Char at position
Adding timestamp to outfile File
Query not inserting rows into table