Forum Replies Created

Viewing 14 posts - 31 through 44 (of 44 total)

  • RE: Eliminate Duplicate rows

    Hi Peter,

       Thanks. Sorry for posting here. I tried this but still getting the duplicates.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Hi peter,

       Thanks for the reply. I amusing Sql Server 2000. Any help would be greatly appreciated.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Hi Anders,

       Thanks for the reply. I cannot use a cursor or Stored Proc and I dont have access rights to create a TEMP table. I need a Sql which...

  • RE: Eliminate Duplicate rows

    Like SELECT TOP(PART_ID)

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Any suggestion would be greatly apprecited.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Hi PW,

       Thanks for the reply. But I have 2 records with the same PART_ID and I want one record with the unique PART_ID.

    Any help would be greatly appreciated.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Thanks PW and Mark.

    PW's remarks:

    The columns whose values are in green represent the "primary key", but there are cases of duplicates. Correct ?

    The columns PART_ID DATE PART_CD  REN_CD are...

  • RE: Eliminate Duplicate rows

    It does not matter which row to keep and which row to avoid. I just need the record out of the dups.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Any SUggestions how to accomplish this.

    Thanks

    San.

  • RE: Eliminate Duplicate rows

    Nope. Its not working that way. Thanks

    San.

  • RE: Eliminate Duplicate rows

     I need all the columns. My data is something like this.

    PART_ID   DATE       PART_CD  REN_CD   STATE BN_NO BN_CD  BN_DS  DESC   ID

    206544    2006-01-01 DDD      11       TX    45789 TIN    OTHER  NULL   500

    206544    2006-01-01...

  • RE: Eliminate Duplicate rows

    Thanks John. I need to provide the data with the unique EMPID and hence need to remove the dups. The DB design is correct as far as our app is...

  • RE: Eliminate Duplicate rows

    Thansk for the reply John.

    EMPID   ENAME   ROLE   SAL  COMMENTS MGRID MGRNAME GROUP OTHER

    PK defined on EMPID,ENAME,ROLE,SAL.

    Let me know.

    Thanks

    San

     

  • RE: Eliminate Duplicate rows

    I have a PK defined on four columns. I need to eliminate the dups and get the first dup row so forth and so on for some other purpose. Hope...

Viewing 14 posts - 31 through 44 (of 44 total)