Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to get to the end of a table
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00807680
Message ID:
00807955
Views:
15
Hi Kelly,

I always (well, almost always) make my PK an integer field - usually an auto-incriment integer. To get the identity of the "last" record, I do something like:

"Select Max(PKField) from Whatevertable"

This way you can get the identity of the last record in a table and do further processing based on that ...

Al

>That being the case how could I mimic those commands. Or would it be of any value?
>
>Kelly
Al Williams

Anola MB, CANADA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform