[sql-server-2005] Check whether a table contains rows or not sql server 2005