TSQL - Transaction Safe Sequence generation in SQL Server 2008 and older