News

(SQL Server 2000)I have a query that basically selects a lot of "complicated" stuff and then dumps it into a #temp table.I then have a correlated subquery that runs against the temp table.Now when ...
I'm trying to assign rows in a table to a random variable entirely in Transact SQL (This is MS SQL Server 2000, sp3). I've got it working perfectly except I can't use a variable inside my subquery ...