Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with SP
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Help with SP
Environment versions
SQL Server:
SQL Server 2000
Application:
Web
Miscellaneous
Thread ID:
01587728
Message ID:
01587728
Views:
65
Hi all, I need to retrieve the largest value from one of my tables in SS, my code is shown below
Select ClaimRef,max(Claim.AdmittedValUSD) as admval from claim
group by ClaimRef
I expected to get 1 record but receive thousands ? any idea why ?
ClaimRef is unique PK
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform