I’m having some problem with this statement
declare @result int
select @result = (select 1 union select 2)
select @result
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
plz help T_T
An
intcan only store one value, not two. Consider using an array of integers: