📜  存储过程返回值 - SQL 代码示例

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

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

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