Scott_B1
9 years agoLevel 4
SQL Query to identify VaultEntryID in EnterpriseVaultDirectory.dbo.Root
Hi,
I hope someone out there can help me. I am currently trying to determine what archive some shortcuts belong to. The Enterprise Vault 8 system is no longer online & i have restored the database...
- 9 years ago
Ok this should give you what you need if you only have the SQL tables to work with, make sure the EnterpriseVaultDirectory and Vault Store DBs are on the same SQL Server/Instance otherwise you will need to alter the query to suit.
Run it against you Vault Store DB which holds the TransactionIds you are interested in:-
SELECT ArchiveName
, VaultEntryId AS ArchiveID
, IDTransaction
, IDDateTime AS ItemDateTime
, ArchivedDate
FROM Saveset
INNER JOIN ArchivePoint on ArchivePoint.ArchivePointIdentity = Saveset.ArchivePointIdentity
INNER JOIN EnterpriseVaultDirectory..ArchiveView AV on AV.VaultEntryId = ArchivePoint.ArchivePointId