Is there a way to store the results of a SELECT query in a stored proc using SQL Server?
In the example below I would like to store both "one", and "two" from the select query.
Example:
DECLARE @Values ???
SET @Values = (SELECT one, two FROM dummyTable)