SQL | SEQUENCE (ID Generation) and CACHE settings
For generating IDs (primary keys) in application databases or surrogate keys in data warehouses, there are several approaches. GUIDs or numeric IDs are mostly used. GUIDs are mainly used in application databases and are generated, for example, using the NEWID() function. This has its advantages and disadvantages. The biggest disadvantage is poor SQL query performance… Read More »