您当前的位置: 首页 > 慢生活 > 程序人生 网站首页程序人生
sqlserver2008 peocedure_调用 存儲過程的調用
发布时间:2022-01-03 22:29:36编辑:雪饮阅读()
USE [ceshi_db]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[test_select_params]
@id = 1,
@name = 'name2'
SELECT 'Return Value' = @return_value
GO
這裏test_select_params是存儲過程名,下面@id是給該存儲過程傳參,@name也是傳參,該存儲過程定義中有兩個參數
关键字词:sqlserver2008,存儲過程調用