DEV Community

Discussion on: Exposing sequential IDs is bad! Here is how to avoid it.

Collapse
victorioberra profile image
Victorio Berra

In some databases like SQL Server you can also avoid making them the primary key the clustered index so that inserts do. It happen randomly throughout the data when you add new rows.

Can you elaborate on this with SQL Server please?