SET @Password =(SELECT Value1,Value2 FROM[dbo].[Table1]WHERE[Expr1])
I am trying to get both values 'Value1' and 'Value2' in two variables to be used in same SP in next query. Is it possible or do I have to write two queries for this. Is it there a concept of arrays in sql server