--Method 1
DECLARE @exists int
SELECT @exists = 1 FROM INFORMATION_SCHEMA.tables WHERE table_name ='asdfadf';
SELECT @exists
--Method 2
IF EXISTS(SELECT * FROM sysobjects WHERE id=object_id('catelement') AND OBJECTPROPERTY(id,'IsUserTable') = 1)
SELECT 'yes'
ELSE
SELECT 'no'
DECLARE @exists int
SELECT @exists = 1 FROM INFORMATION_SCHEMA.tables WHERE table_name ='asdfadf';
SELECT @exists
--Method 2
IF EXISTS(SELECT * FROM sysobjects WHERE id=object_id('catelement') AND OBJECTPROPERTY(id,'IsUserTable') = 1)
SELECT 'yes'
ELSE
SELECT 'no'