sqlserver2005 。t-sql 里面if判断里面要满足两个条件怎么写?

2025-01-01 07:50:43
推荐回答(2个)
回答1:

if 2<3 and 4<5
begin
print 'd'
end
else
begin
print 's'
end;

回答2:

if
2<3
and
4<5
begin
print
'd'
end
else
begin
print
's'
end;