📌  相关文章
📜  sql server 存储过程返回值到变量 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:26.287000             🧑  作者: Mango

代码示例2
CREATE PROC myproc AS 
BEGIN
     SELECT name FROM SYSOBJECTS
END
go

DECLARE @t TABLE (name varchar(100))
INSERT @t (name)
exec myproc