Email or username:

Password:

Forgot your password?
Marco "Ocramius" Pivetta

Customer asked me to create a table for uniqueness checking:

```sql
CREATE TABLE created_uuids (
id UUID NOT NULL PRIMARY KEY
);
```

Pull your own conclusions.

9 comments
Woody Gilk

@thomastospace wait a second, I see what you did here… πŸ‘€

Psycodepath

@ocramius Charge an extra anti collision fee. Those facepalms need to be compensated.

Woody Gilk

@ocramius hey now at least that 1 in 4 billion chance of collision at a specific second will no longer be possible! πŸ’ͺ🀭

Anthony, of course

@ocramius how many UUIDs are they planning on generating at a time that they're legitimately concerned about collisions?

Dmitri Goosens :elephpant:

@ocramius

Did the customer also request, for each UUID you generate, you check it is not already listed in there?

Go Up