Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is a bad idea to use anything entered by a user as the primary key.

It is ok to use data entered by users to assure the uniqueness of a record (unique indexes/constraints).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: