mysql naming convention

后端 未结 4 1961
孤独总比滥情好
孤独总比滥情好 2021-01-16 06:38

I have generally always used some sort of Hungarian Notation for my field names in my tables e.g.

#Table Users
u_id, u_name, u_email etc...

#Po         


        
4条回答
  •  独厮守ぢ
    2021-01-16 07:33

    Depends on your working style. There are no fixed set of rules.

    I use camelcase tableNameFieldName for e.g catID, catName, catDesc

提交回复
热议问题