这是我正在做的事情:
我遇到了这个错误:
while (@counter < 3 and @newBalance >0)
begin
CASE
when @counter = 1 then ( @monFee1 = @monthlyFee, @newBalance = @newBalance-@fee)
when @counter = 2 then ( @monFee2 = @monthlyFee, @newBalance = @newBalance-@fee)
END
@counter = @counter +1
end
我遇到了这个错误:
我不知道为什么会出现这种情况,请帮忙解决!关键字“CASE”附近的语法不正确。