摘要:
/*IF ELSE 语句 BEGIN END 相当予C语言中的{} 当语句块中只有一句的时候 可以省略 BEGIN ENDwhile begin...语句块 end PRINT 打印输出信息 */declare @num int select @num=100;WHILE @num>90BEGIN if @num> 80BEGINPRINT 'this teacher is very successful ' END elseBEGINPRINT 'this teacher is a failure' ENDset @num=@num-1END2. 阅读全文
posted @ 2011-07-25 23:38
风尘女子
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号