Quantcast
Viewing all articles
Browse latest Browse all 3821

SQL Query for Index bit-type?

Oui, j'ai besoin d'une solution

Hi,

I'm looking for a way to identify the 32-bit indexes from SQL.

The purpose is to identify 'older' archives and update them to 64-bit indexes outside of the active user updgrade schedule.

I have the below to identify 'older' archives but can't seem to find an obvious index bit-type in any of the tables.

Any help greatly appreciated.

Thanks

SELECT  A.ArchiveName "Archive Name",
        AP.ModifiedDate "Archive Last Modified",
        COUNT(s.ArchivePointIdentity) "Item Count"
FROM    EnterpriseVaultDirectory.dbo.Archive A,
        EnterpriseVaultDirectory.dbo.Root R,
        EVVSEVARCAPSTR01_1.dbo.ArchivePoint AP,
        EVVSEVARCAPSTR01_1.dbo.Saveset S
WHERE   A.RootIdentity = R.RootIdentity
  AND   R.VaultEntryId = AP.ArchivePointId
  AND   AP.ArchivePointIdentity = S.ArchivePointIdentity
  AND    AP.ModifiedDate < '2014-01-01'
GROUP BY A.ArchiveName, AP.ModifiedDate
ORDER BY "Archive Name"

Viewing all articles
Browse latest Browse all 3821

Trending Articles



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