Index with Included columns with 80 compatibility mode

  • It appears that I can create an index with included columns on a table when the database is in 80 (SQL 2000) compatibility mode on SQL Server 2005. For example:

    CREATE INDEX [MyIndex] ON [dbo].[MyTable] ([MyColumn]) INCLUDE ([MyCol2], [MyCol3])

    Does anyone know if SQL Server will use the index and included columns when the database is in 80 compatibility?

  • bump

  • Did you try to setup a test scenario where the index would be used?



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply