What is the most efficient way to read the last row with SQL Server?
The table is indexed on a unique key -- the \"bottom\" key values represent the last row.
This is how you get the last record and update a field in Access DB.
UPDATE compalints SET tkt = addzone &'-'& customer_code &'-'& sn where sn in (select max(sn) from compalints )
compalints
SET tkt = addzone &'-'& customer_code &'-'& sn where sn in (select max(sn) from compalints )