Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Getting max(date) and relevant unique GUID

$
0
0
I have a table with a uniqueidentifier column (36 char GUID), an associated customerid column, and a date field.

I need to get the most recent uniqueidentifier and date for the customerid, but when I try to do so I'm getting ALL GUID's associated

Viewing all articles
Browse latest Browse all 3145

Trending Articles