Home Forums SQL Server 2008 T-SQL (SS2K8) What can be used as Arrays in SQL Server? RE: What can be used as Arrays in SQL Server?
Shadab Shah
SSCarpal Tunnel
Points: 4759
More actions
July 30, 2012 at 10:15 pm
#1519513
That's a valid point. But what if my query is something like this
--------- some logic
where empid=(select empid from #emp where deptid=2)
The objective of the query is to execute the logic for each empid.