f exists(select * from sysobjects where id=object_id('tb1') and OBJECTPROPERTY(id, N'IsUserTable') = 1)