Home > database >  A database of [with], "ID" how to design personnel identification?
A database of [with], "ID" how to design personnel identification?

Time:12-16

actual business site, open the web page, can have with a variable, to distinguish between staff identity,
Such as the default. PHP? Id=1
(the variable name id can be changed to the other, 1 is the primary key personnel in the database)

There is a contradiction to 1 directly assigned to the id, belong to "expose data to the front end"?
Should rename it, such as the random string of 2020 awrq?
But this design, there is no primary key value, the impact on the search data with seemingly and efficient,

Have experience on talent to give directions ~
  • Related