Is your database server currently host very large database and grow rapidly ? If yes, how do you efficiently use "select count" statement ? You don't need to use that "set based" query. Here's how you do it alternatively. SysIndex : SQL Server 2000 / 2005 / 2008or Download Code |
T-SQL Tips >