Home Forums SQL Server 2008 T-SQL (SS2K8) Query to find indexes that are larger than 900 bytes RE: Query to find indexes that are larger than 900 bytes

  • GilaMonster (11/4/2016)


    Luis Cazares (11/4/2016)


    It seems correct, the only issue would be with xml columns, but I'm sure those would be handled differently.

    Not a concern here, since XML columns, like the MAX datatypes can't be in the index key.

    I mentioned it, because the query returns XML indexes. Which of course use xml columns.

    As mentioned, it's not a concern. Especially when using the HAVING clause.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2