is it possible to create primary key on non-clustered index ?

  • is it possible to create primary key on non-clustered index ?

  • You mean a primary key enforced by a nonclustered index? Yes, it's possible. See Books OnLine (ALTER TABLE) for the detailed syntax.

    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..

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

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