Hi.
Is in T-SQL possible to do something like switch in PHP?
www.php.net/switch
I have this code:
declare @variable int
set @variable=3
if @variable=1
begin
print 'a'
print 'another t-sql commands continue...'
end
else if @variable=2
begin
print 'b'
print 'another t-sql commands...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.