Do underscores in a MySQL table names cause issues?

前端 未结 11 964
不知归路
不知归路 2021-02-06 22:17

Do underscores in table names affect performance or cause issues on some platforms?

For example, user_profiles

Would it be better to use user

11条回答
  •  梦如初夏
    2021-02-06 23:19

    Nope, underscores in a database never cause any issues at all. My experience say that it is a better idea to identify any words in a database column.

    If we use 'thisIsMyColumn' as a column name it's easy to write them, but 'this_is_my_column' as column name is more readable than the previous one.

提交回复
热议问题