> The big question now is if there is a similar function for MS SQL? @@IDENTITY http://msdn.microsoft.com/library/en-us/tsqlref/ts_globals_50u1.asp rudy