Home Forums SQL Server 2005 T-SQL (SS2K5) Help getting total rows from outer select statement RE: Help getting total rows from outer select statement

  • Actually, after running this code, using the Window function divided by the window function requires a lot of processing power and time, so I'm going to decide against that, so still need to determine a solution if anyone has done this before.

    p.s. placing @@rowcount in the outer select statement only returns the amount of rows read by the inner select statement, so that doesn't work either.