This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15807|Reply: 0

[Source] SQL Server If Exists multi-condition judgment

[Copy link]
Posted on 4/30/2020 5:37:01 PM | | | |

Conditions are applied to the execution of Transact-SQL statements. If the condition is met, then execute the Transact-SQL statement immediately following the IF keyword and its condition: the boolean expression returns TRUE. The optional ELSE keyword introduces another Transact-SQL statement that executes when the IF condition is not met: the Boolean expression returns FALSE.



The effect is as follows:






Previous:Solve HTML export Excel table numbers to become scientific notation
Next:Jining new coronavirus real-time big data report source code download
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com