水浒卡:在sqlserver中执行update语句时要把其值扩大2倍的存储过程怎么写
来源:百度文库 编辑:高校问答 时间:2024/05/17 00:24:49
比如执行 update table set num=2 wher exp时 要把语句变为 update table set num=2*2 wher exp 的存储过程怎么写
ALTER PROCEDURE dbo._test
(@num bigint)
AS
update table set num=@num * 2 wher exp
return