select count(*) from dbo.sysobjects where  OBJECTPROPERTY(id, N'IsUserTable') = 1--
--同数据库中不可能存在完全同名的表(所属用户.表名这个肯定是唯一的)