This technical support bulletin provides SQL scripts to help maintain a ProWatch database, including scripts to count rows in tables, truncate tables to delete all data, and shrink the database size. The scripts should be run against the PWNT database after stopping the ProWatch service.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
260 views
SQL Scripts For ProWatch
This technical support bulletin provides SQL scripts to help maintain a ProWatch database, including scripts to count rows in tables, truncate tables to delete all data, and shrink the database size. The scripts should be run against the PWNT database after stopping the ProWatch service.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
April 30, 2007 Confidential 1
CSG Techni c al Suppor t Bul l et i n
Dat e: April 30, 2007 From: J im Ridenour - CSG RE: SQL scripts for ProWatch Pre-requisit es: Suggested Pro-Watch Maintenance Tasks Technical Support Bulletin ProWatch Enterprise Manager or SQL Enterprise Manager Required media:
Inst allat ion st eps: The following are scripts used in support of ProWatch, all versions. Stop the ProWatch service and run all scripts against the PWNT database. To return the number of rows in the associated table: Select Count (*) from channel_download Select Count (*) from ev_log Select Count (*) from unack_al Select Count (*) from hi_queue To permanently delete all data in the associate table: Truncate Table channel_download Truncate Table ev_log Truncate Table unack_al Truncate Table hi_queue To shrink the database: DBCC Shrinkdatabase (PWNT, 10) Not es:
Mastering Netscaler VPX: Learn how to deploy and configure all the available Citrix NetScaler features with the best practices and techniques you need to know