一样啊,声明、赋值、使用:
DECLARE @col1Value varchar(20); --声明变量BEGIN @col1Value := '呵呵'; --为变量赋值 select * from tb1 where col1 = @col1Value;END;
卵从长计议鸵贾老头子倘