07-28-2011 10:50 AM
07-28-2011 08:27 PM
07-28-2011 01:30 PM
Are you talking about the shortcut in mailbox? If so, you can not do this with SQL query. You need to use OL search.
07-28-2011 02:53 PM
Really you should just do an index search,
But the query would be the following
SELECT A.ArchiveName "Archive Name",
AF.FolderName "Folder Name",
AF.FolderPath "Folder Path",
S.IdTransaction "Transaction ID",
S.IdDateTime "Sent/Received Date",
S.ArchivedDate "Date Archived",
S.ItemSize "Items Size"
FROM EnterpriseVaultDirectory.dbo.Archive A,
EnterpriseVaultDirectory.dbo.Root R,
EnterpriseVaultDirectory.dbo.Root R2,
EnterpriseVaultDirectory.dbo.ArchiveFolder AF,
yourVaultStore.dbo.Saveset S,
yourVaultStore.dbo.ArchivePoint AP,
yourVaultStore.dbo.Vault V
WHERE S.ArchivePointIdentity = AP.ArchivePointIdentity
AND S.VaultIdentity = V.VaultIdentity
AND AP.ArchivePointId = R.VaultEntryId
AND V.VaultId = R2.VaultEntryId
AND R.RootIdentity = A.RootIdentity
AND R2.RootIdentity = AF.RootIdentity
AND S.IdDateTime <= '2007-01-01 00:00.000'
07-28-2011 03:20 PM
Thanks!!!
Query Error:
Msg 208, Level 16, State 1, Line 1
Invalid object name 'yourVaultStore.dbo.Saveset'
07-28-2011 04:08 PM
I need number of items for all the mailboxes older than one year.
Query Error:
Msg 208, Level 16, State 1, Line 1
Invalid object name 'yourVaultStore.dbo.Saveset'
07-28-2011 04:28 PM
Unless your vault store is named "YourVaultStore" you need to change that part of the query to the name of your vault store.
07-28-2011 04:35 PM
07-28-2011 06:43 PM
Sorry! I also need EV archive name and corresponding item count.
07-28-2011 08:27 PM
07-28-2011 09:04 PM
eleventy billion. love it!