Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
When a Search is deleted it does go away, but after a re-start of the Client the Search is back.
Resolution
Before performing these steps make a backup of your database.
Before doing this backup the Change Auditor database.
Stop the Change Auditor Coordinator(s) and all instances of the Clients
Remove large number of erroneous records from [Query].[Def] that have no Search definition defined.
Open SQL Management Studio
Connect to the SQL Server that contains the ChangeAuditor database
Click 'New Query'
Select the ChangeAuditor database from the database dropdown box
Paste the following command in the Query window:
Delete FROM [Query].[Def] where QuerySQL IS NULL
Remove records from Query.Information that do not have matching definiations in [Query].[Def]. These are Searches that were partially deleted in the Client.
Click 'New Query'
Select the ChangeAuditor database from the database dropdown box
Paste the following command in the Query window:
DELETE FROM Query.Information
WHERE queryid NOT IN (SELECT queryid FROM query.def)
Click Execute
Alter [Query].[Information] to add a forign key constaint with Query.Def
Click 'New Query'
Select the ChangeAuditor database from the database dropdown box
Paste the following command in the Query window:
ALTER TABLE [Query].[Information] WITH CHECK ADD CONSTRAINT [FK_QueryInformation_QueryDef] FOREIGN KEY([QueryID]) REFERENCES [Query].[Def] ([QueryID]) ON DELETE CASCADE
ALTER TABLE [Query].[Information] CHECK CONSTRAINT [FK_QueryInformation_QueryDef]
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
Change Auditor
7.3, 7.2
Topic(s):
Configuration
Article History:
Created on: 10/27/2017 Last Update on: 2/10/2024
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.