您的位置首页百科快答

sql if语句

sql if语句

的有关信息介绍如下:

sql if语句

if(@Cnt>=0 and @Cnt<9)

if(@Cnt>=0 or @Cnt<9)

if @Cnt>=0 and @Cnt<9

begin

...

...

end

if(@Cnt>=0&)and(&@Cnt<9)

你分别加上个括号试试看。