how to use if else in ms  sql server
Microsoft Net Framework

how to use if else in ms  sql server


IF ( 1 <> 1) --<-- Some Expression
BEGIN
 PRINT 'One is equal to One'
END
ELSE IF (2=3)
BEGIN
 PRINT 'First expression was not true'
 END
 else
 begin
    Print 'else'
 end

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM