RaSor's Tech Blog

December 21, 2009

SQL2005: Create a unique key with Row_number()

Filed under: Excel, SQL — rasor @ 6:20 pm

A datawash solution:

Problem: From Active Directory I had a long list, where column alias was not unique.
Instead of do any manual filtering away the aliases that were found more than once, I just wanted SQL server to throw away the duplets, leaving only one alias bin the list.
(more…)

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.