Should each and every table have a primary key?

后端 未结 15 760
甜味超标
甜味超标 2020-11-22 07:00

I\'m creating a database table and I don\'t have a logical primary key assigned to it. So, I\'m thinking about leaving it without a primary key, but I\'m feeling a bit guilt

15条回答
  •  北海茫月
    2020-11-22 07:38

    Just add it, you will be sorry later when you didn't (selecting, deleting. linking, etc)

提交回复
热议问题