SELECT MAX(primary_key_field) AS MaxID
FROM some_table
--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
"PopcornCoder" <webforumsuser@macromedia.com> wrote in
message
news:gcd9rq$8t3$1@forums.macromedia.com...
> What's the proper SQL syntax to get the last record in a
table.