Madhivanan (madhivanan2001@gmail.com) writes:
> Select Max(IdentityField)+1 from TableName
That's not a good thing, since the value you get may not actually be
that value, if another process comes in between.
--
Erland Sommarskog, SQL Server MVP,
esquel@sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp