select id from [sysobjects] where type='u' and name=你要找的表名 如果查不出记录,则没有该表。 type='u'表示从用户表中查找,如果你要从系统表中查,那么type='s'