Home > database >  More than one if the exists what to use
More than one if the exists what to use

Time:10-18

Multiple if exists how to use, such as
If the exists (conditions)
Execute the statement
Else if sxists (conditions)
Execute the statement
Else if sxists (conditions)
Execute the statement
The else (conditions)
Execute the statement


Write after the execution of a mess, it should be grammar mistakes, how to change?

CodePudding user response:

That also should according to actual business to adjust, don't stick a complete statement can't judge

CodePudding user response:

Two exists in sxists

CodePudding user response:

In case the when instead

CodePudding user response:

If
Else if
Else if
.
The else
The check is a thing, if the if conditions of the agreement, later will no longer perform


The if...
The if...
The if...
Here the if independent, each to check it again

CodePudding user response:

 
If exist (../../Intdir/Debug_Win32/TestLog) del (../../Intdir/Debug_Win32/TestLog \ *. Obj)
If exist (../../Intdir/Debug_x64/TestLog) del../../Intdir Debug_x64 TestLog/*. Obj
If exist.. \.. \ Intdir \ Release_Win32 \ TestLog del.. \.. \ Intdir \ Release_Win32 \ TestLog \ *. Obj
If exist.. \.. \ Intdir \ Release_x64 \ TestLog del.. \.. \ Intdir \ Release_x64 \ TestLog \ *. Obj


Error:


How be to return a responsibility excuse me?
  • Related