COMMITTRANSACTION
GOTOEndSave
QuitWithRollback:
IF(@@TRANCOUNT>0)ROLLBACKTRANSACTION
EndSave:
GO
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spTrapAlert_20]')andOBJECTPROPERTY(object_id,N'IsProcedure')=1)
dropprocedure[dbo].[spTrapAlert_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[spSetupAlertsTrap_20]')andOBJECTPROPERTY(object_id,N'IsProcedure')=
1)
dropprocedure[dbo].[spSetupAlertsTrap_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryAlertLog_20]')andOBJECTPROPERTY(object_id,N'IsUserTable')=
1)
droptable[dbo].[SQLSentryAlertLog_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryLogData_20]')andOBJECTPROPERTY(object_id,N'IsUserTable')=1)
droptable[dbo].[SQLSentryLogData_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[SQLSentryObjectVersion_20]')andOBJECTPROPERTY(object_id,
N'IsUserTable')=1)
droptable[dbo].[SQLSentryObjectVersion_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[fnGetSQL_20]')andOBJECTPROPERTY(object_id,N'IsScalarFunction')=1)
dropfunction[dbo].[fnGetSQL_20]
ifexists(select*fromsys.objectswhereobject_id=object_id(N'[dbo].
[fnGetWaittypeDesc_20]')andOBJECTPROPERTY(object_id,
N'IsScalarFunction')=1)
dropfunction[dbo].[fnGetWaittypeDesc_20]
10.4 Watched Server Objects
PERFORMANCE ADVISOR WATCHED SERVER OBJECTS
When a SQL Server instance is watched by SQL Sentry Performance Advisor, the below objects are
placed on the target server. To remove these objects, see the Uninstalling SQL Sentry topic.
TABLES (MSDB):
SQLSentryObjectVersion_20
Comentários a estes Manuais