Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return First Record Of Each Batch
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01406654
Message ID:
01406753
Vues:
24
>>But have you been able to get my query to work?
>>
>>select * from (select *, row_Number() OVER (partition by BatchID Order BY ActionDate) as RowNum from returns) R  
>>where RowNum = 1
>
>
>That did it!! Thank you!!!

As my former colleague and boss would say: "FINALLY!" :))))))))))))
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform