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
How can I display this without line breaks
Radio button Dependency using JSF and Apache Trinidad
Filtering Mysql Search Results Based a Number of Criteria
Problem connecting Netapp FCP LUN on SERVER 2008
Oracle forms and reports in Oracle 10g
Install .PFX file to personal store - Certificate Authority
Dock for Mac Laptop
prevent user from accessing specific form
Moving Domino 8 server
ASP.NET Error: The page was not displayed because the request entity is too large.