twin.devil (11/4/2013)
Better practice is to maintain a sequence column in the table.
Why? I've added such a thing only when there is no other means and there is a means in this query. You just used one. 😉 A sequence column would require maintenance after every insert.
--Jeff Moden
Change is inevitable... Change for the better is not.