I\'m looking for a good way to generate a unique order ID. Can you see any problems with the code below?
int customerId = 10000000; long ticks = DateTime.UtcNow
I'd use the IDENTITY column and if not that, use System.Guid.NewGuid() to generate a GUID for you.