DECLARE @liahona int
set @liahona =2
if @liahona=1
goto cui
else
goto james
cui:
SELECT * FROM ArticleModel
james:
SELECT * FROM Announcement
(注:必须在一个存储过程或批处理中)
数据库中的goto语法
最新推荐文章于 2022-09-07 20:03:00 发布