Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: QC10P10 - Restore History?, Clicked Tools--Clear History

$
0
0

No guarantees...but I just did this...and it worked like a charm.  You must insert the history records with their original primary keys, so use

 

SET IDENTITY_INSERT [td].[AUDIT_LOG]  ON   (and likewise for AUDIT_PROPERTIES)

 

before your INSERT INTO statements.  At the end you can use the same command to set it back to OFF.

 

And, load the AUDIT_LOG entries before the AUDIT_PROPERTIES entries (parent before child).

 

I have not seen any ill effects from doing this.


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>