Hey! I have an SQL database with a set of tables that have Unique Id's. For the longest time I have been using the unique Identifier datatype and passing in a guid from my C# interface. However for the purpose of speed when querying I have decided to switch to using a bigint and passing in a long.
Whats the easiest way to create unique longs each time I run the code so that there is no duplication of ID?
regards