if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tblMiTabla]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) AccionAtomar.... GO