Sentry Sentry 2.0 Guía de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
10.3.2
Object Removal Script for Watched 2005 and
Above Servers
Object Removal Script for Watched 2005 and above
USEmsdb
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[sp_sentry_mail]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[sp_sentry_mail]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[sp_sentry_mail_20]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[sp_sentry_mail_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[sp_sentry_dbmail_20]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[sp_sentry_dbmail_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryEmails_20]')andOBJECTPROPERTY(object_id,N'IsUserTable')=1)
droptable[dbo].[SQLSentryEmails_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryDBEmails_Attachments_20]')andOBJECTPROPERTY(object_id,
N'IsUserTable')=1)
droptable[dbo].[SQLSentryDBEmails_Attachments_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryDBEmails_20]')andOBJECTPROPERTY(object_id,N'IsUserTable')=
1)
droptable[dbo].[SQLSentryDBEmails_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spGetBlockInfo_20]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[spGetBlockInfo_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spGetBlockInfo_Pre8sp3]')andOBJECTPROPERTY(object_id,N'IsProcedure')=
1)
dropprocedure[dbo].[spGetBlockInfo_Pre8sp3]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spGetQueryStatsData]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[spGetQueryStatsData]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spGetProcedureStatsData]')andOBJECTPROPERTY(object_id,N'IsProcedure')
=1)
dropprocedure[dbo].[spGetProcedureStatsData]
GO
BEGINTRANSACTION
DECLARE@JobIDBINARY(16)
SQL Sentry Quick Start 47
©2015 SQL Sentry. All Rights Reserved.
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 55 56

Comentarios a estos manuales

Sin comentarios