Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    83

    Unanswered: ALLOW_DUP_ROW' is no longer supported

    Any body please give me the details about how to use 'ALLOW_DUP_ROW' in a CREATE CLUSTERED INDEX statement.

    I tried executing the below statement but it throws an error "CREATE INDEX option 'ALLOW_DUP_ROW' is no longer supported."(both in SQL Server 2000 and SQL Server 2005)

    CREATE CLUSTERED INDEX index121
    ON raj(j)
    WITH ALLOW_DUP_ROW

    raj(j) contains two rows with same value

    please hhelp me out

  2. #2
    Join Date
    Oct 2006
    Posts
    83

    Thumbs down

    need a quick help ,

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Clustered indexes allow duplicate rows by default. You have to create it as a primary key or add a unique constraint in order to prevent duplicate rows.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •