Should we use prefixes in our database table naming conventions?

前端 未结 7 2345
攒了一身酷
攒了一身酷 2021-02-05 22:03

We are deciding the naming convention for tables, columns, procedures, etc. at our development team at work. The singular-plural table naming has already been decided,

7条回答
  •  佛祖请我去吃肉
    2021-02-05 23:01

    In the past, I've been opposed to using prefixes in table names and column names. However, when faced with the task of redesigning a system, having prefixes is invaluable for doing search and replace. For example, grepping for "tbl_product" will probably give you much more relevant results than grepping for "product".

提交回复
热议问题