how to return multiple values from stored procedure in sql server
CREATE PROC myproc AS
BEGIN
SELECT name FROM SYSOBJECTS
END
go
DECLARE @t TABLE (name varchar(100))
INSERT @t (name)
exec myproc
how to return multiple values from stored procedure in sql server
CREATE PROC myproc AS
BEGIN
SELECT name FROM SYSOBJECTS
END
go
DECLARE @t TABLE (name varchar(100))
INSERT @t (name)
exec myproc
stored procedure sql get multiple variable selects
Declare @Phone nvarchar(30);
Declare @Fax nvarchar(30);
select @Phone = phone , @Fax = fax from customer where customerID = 1;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us