不是说set直接赋值,select 间接赋值,如
declare @name varchar(10)
set @name='李文才'
declare @stuNo int
select @stuNo=stuNo from student where stuName=@name
为何答案是这样
田心枫
咚咚dddd锵
慕粉4075985
相关分类