20.07.2014 Views

Cognos ReportNetTM Installation and Configuration Guide

Cognos ReportNetTM Installation and Configuration Guide

Cognos ReportNetTM Installation and Configuration Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix D: Database Clean Up Scripts<br />

You can run an SQL script to delete all the tables in one of the following databases that<br />

ReportNet uses:<br />

• content store for ReportNet application data<br />

• log database for log messages<br />

• delivery database for report notifications<br />

Delete Tables from Databases Used by ReportNet<br />

If you want to remove all existing ReportNet related information such as applications or log<br />

entries, <strong>and</strong> start over, you can run a special SQL script.<br />

When you delete a table, its structural definition <strong>and</strong> data are deleted permanently from the<br />

database.<br />

Ensure that you stop the ReportNet service before you run the scripts. When you restart the<br />

ReportNet service, the required database tables are created automatically in the location<br />

determined by your configuration settings.<br />

Steps<br />

1. On the computer where Content Manager is located, stop the ReportNet service.<br />

2. Go to the appropriate directory:<br />

• To delete tables from the log database, go to the<br />

crn_location\configuraton\schemas\logging<br />

• To delete tables from the content store database, go to the<br />

crn_location\configuraton\schemas\content<br />

• To delete tables from the delivery database, go to the<br />

crn_location\configuraton\schemas\delivery<br />

3. Go to the appropriate database directory.<br />

4. Depending on the database <strong>and</strong> database type, run one of the following scripts in the<br />

appropriate database tool to delete the tables.<br />

Database Database Type Script Name<br />

Content DB2 dbClean_db2.sql<br />

Microsoft SQL<br />

Server<br />

Oracle<br />

dbClean_mssqlserver.sql<br />

dbClean_oracle.sql<br />

Delivery DB2 NC_DROP_DB2.sql<br />

Microsoft SQL<br />

Server<br />

Oracle<br />

NC_DROP_MS.sql<br />

NC_DROP_ORA<br />

Logging DB2 LS_dbClean_db2.sql<br />

<strong>Installation</strong> <strong>and</strong> <strong>Configuration</strong> <strong>Guide</strong> 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!