Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. delete duplicated records

delete duplicated records

Scheduled Pinned Locked Moved Database
helpcareer
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sophia Rekhi
    wrote on last edited by
    #1

    Hi all, i have one table, it does n't have identity column,primary key,foriegn key,unique key and no constraints. Now i want to delete duplicate records. ex: table : sample (before deletion) cno cname salry 10 xxx 1000 10 xxx 1000 10 xxx 1000 20 yyy 2000 20 yyy 2000 i want the result like this after deletion: cno cname salary 10 xxx 1000 20 yyy 2000 Please help me.

    G 1 Reply Last reply
    0
    • S Sophia Rekhi

      Hi all, i have one table, it does n't have identity column,primary key,foriegn key,unique key and no constraints. Now i want to delete duplicate records. ex: table : sample (before deletion) cno cname salry 10 xxx 1000 10 xxx 1000 10 xxx 1000 20 yyy 2000 20 yyy 2000 i want the result like this after deletion: cno cname salary 10 xxx 1000 20 yyy 2000 Please help me.

      G Offline
      G Offline
      gauthee
      wrote on last edited by
      #2

      Take a look at this: http://www.databasejournal.com/features/mssql/article.php/1438651

      Gautham

      S J 2 Replies Last reply
      0
      • G gauthee

        Take a look at this: http://www.databasejournal.com/features/mssql/article.php/1438651

        Gautham

        S Offline
        S Offline
        Sophia Rekhi
        wrote on last edited by
        #3

        Hi gautham, Thanx for your response.

        G 1 Reply Last reply
        0
        • S Sophia Rekhi

          Hi gautham, Thanx for your response.

          G Offline
          G Offline
          gauthee
          wrote on last edited by
          #4

          No probs! You are welcome.

          Gautham

          1 Reply Last reply
          0
          • G gauthee

            Take a look at this: http://www.databasejournal.com/features/mssql/article.php/1438651

            Gautham

            J Offline
            J Offline
            Jerry Hammond
            wrote on last edited by
            #5

            http://www.databasejournal.com/features/mssql/article.php/1438651[^]

            Learning is not a spectator sport. - D. Blocher

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups