BEGIN tryCreate table OurIfTest(col1 int primary key)end trybegin catchdeclare @errorNo int,@severity tinyint,@state smallint,@lineNo int,@message nvarchar(4000)select @errorNo=ERROR_NUMBER(),@severity=ERROR_SEVERITY(),@state=ERROR_STATE(),@lineNo=ERROR_LINE(),@message=ERROR_MESSAGE()IF @errorNo=2714print 'already exits table'else raiserror(@message,16,1)end catch