Results 1 to 10 of 197

Thread: IT Professionals

Threaded View

  1. #11
    Senior Member Platinum Hubber
    Join Date
    Oct 2004
    Posts
    10,586
    Post Thanks / Like
    Another link suggests this for SQL-Server (looks like it has the partition by function)
    To remove duplicates, on SQL Server 2005 you can use this query:

    WITH Dups
    AS
    (SELECT *, ROW_NUMBER() OVER(
    PARTITION BY col1, col2, col3, col4, col5, col6, col7, col8,
    col9, col10
    ORDER BY col1) AS seq
    FROM Table)
    DELETE Dups
    WHERE seq > 1;
    Give it a try

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

Similar Threads

  1. IT Professionals
    By Raghu in forum Miscellaneous Topics
    Replies: 206
    Last Post: 19th July 2007, 09:09 AM

Bookmarks

Posting Permissions

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