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 ...
I have what i think to be a relatively simple task and may just be having a "moment" I'm building a report and am pulling a bunch of data from our db. The table I'm builidng has 5 fields. I populate ...