if exists (select * from dbo.sysobjects where id=object_id(N'[dbo].[tablename]') and OBJECTPROPERTY(id,N'IsUserTable')=1)print '存在'