Guru: Partitioning Result Sets Using SQL Mike Larsen

​While working on a project recently, I needed to retrieve attributes of an item. While that sounds like a simple task, there was a twist. While reviewing the contents of the item master table, I noticed there could be multiple rows for the same item and each row was active and valid from a business perspective.
I won’t get into the business end of it, but my goal was to return the most recent iteration of the item for further processing in the program. After doing some research and trying some potential solutions, I came across the SQL partition by …
The post Guru: Partitioning Result Sets Using SQL appeared first on IT Jungle. Read More 

Verified by MonsterInsights