Rajesh

Thursday, May 18, 2017

SQL Delete duplicatie records in a table which as a primary key

delete e1.* FROM TempTable e1 INNER JOIN TempTable e2 ON e1.col1=e2.col1 AND e1.col2=e2.col2 AND e1.ID>e2.ID
Posted by Rajesh-Ramamoorthy at 3:42 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

collegue blog

  • Bala S
  • J Saravanan
  • logesh
  • Manoj HOV
  • poornima
  • shaalini blog

Blog Archive

  • ►  2019 (1)
    • ►  February (1)
  • ▼  2017 (1)
    • ▼  May (1)
      • SQL Delete duplicatie records in a table which as ...
  • ►  2016 (7)
    • ►  October (1)
    • ►  August (2)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
  • ►  2014 (2)
    • ►  October (1)
    • ►  March (1)
  • ►  2012 (16)
    • ►  December (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (9)
    • ►  January (2)
  • ►  2009 (10)
    • ►  June (4)
    • ►  May (3)
    • ►  April (2)
    • ►  January (1)
  • ►  2008 (35)
    • ►  November (1)
    • ►  September (15)
    • ►  July (19)

About Me

Rajesh-Ramamoorthy
View my complete profile

My hit rate

hit counter
free hit counter
Picture Window theme. Powered by Blogger.