I've been using the sp_MSforeachtable
built-in stored procedure to determine the row count of each table in our database, using COUNT(*).
I've realized, though, that I just want a 0 or 1, depending on whether there are any rows at all in the table.
Is there something else I can use that's faster/cheaper than COUNT(*)?