Script to Rename the indexes, Foreing Key Constraints using SQL Server 2005

  • Hi,

    I would like to know how to write the Script to Rename the indexes or Foreign Key constraints using SQL Server 2005,

    i have certain indexes in my table, where in i have to change the names for the indexes which is given the name wrongly.

    With Regards

    Dakshina Murthy

  • Look up sp_rename in Books Online

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks i will try that

    with regards

    Dakshina murthy

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

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