Thursday, June 11, 2009

SQL untuk mark duplicate row

Sangat bagus untuk Condition Split dlm SSIS (ETL)

Select *,
rank() over (Partition by Code, description order by TieBreakerColumn desc, SurrogateKey) MyRank
from SourceWithDuplicates

No comments:

Post a Comment