Just Code‎ > ‎

Tsql - Use result from stored procedure in tsql script, capture it in a temporary table or variable

posted Feb 4, 2010, 12:27 AM by Peter Henell
DECLARE  @tmp TABLE (
FirstName VARCHAR(100),
LastName VARCHAR(100)
)

INSERT @tmp (FirstName, LastName)
EXEC dbo.GetPersonByLastName @LastName = 'Henell'

Comments