How to Check whether a table contains rows or not sql server 2005?
For what purpose?
IF EXISTS (SELECT * FROM Table)...
SELECT TOP 1 1 FROM Table
SELECT COUNT(*) FROM Table