Create Index in TSQL using ASC | DESC

  • Can anybody tell me how to create index on any column in DESC order. I need the syntex

    let's say ...

    CREATE nonCLUSTERED INDEX index_by_Returned_Date

    ON finaltable (Returned_Date)

    please modify it

  • Try this out:

    CREATE nonCLUSTERED INDEX index_by_Returned_Date

    ON finaltable(Returned_Date DESC)

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

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

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