Forum Discussion
- GabeVLevel 6
Hello Michael,
You need to use the IndexVolumeView from the EVDir DB. Try this one:
USE EVVAULTSTORENUE
GOSELECT [EnterpriseVaultDirectory].[dbo].[ArchiveView].[ArchiveName], ArchivedItems,
CAST(ArchivedItemsSize AS decimal(20, 0)) AS ArchivedItemsSize, IndexVolumeView.YoungestArchivedDateUTC
FROM view_ListVaults
INNER JOIN [EnterpriseVaultDirectory].[dbo].[ArchiveView]
ON view_ListVaults.ArchivePointId = [EnterpriseVaultDirectory].[dbo].[ArchiveView].[VaultEntryId] INNER JOIN [EnterpriseVaultDirectory].[dbo].[IndexVolumeView] ON [EnterpriseVaultDirectory].[dbo].[ArchiveView].[VaultEntryId] = [EnterpriseVaultDirectory].[dbo].[IndexVolumeView].[VaultEntryId]