D
D
Dauren S2018-03-02 10:09:43
Database
Dauren S, 2018-03-02 10:09:43

userid or user_id?

What is the correct userid or user_id in the database?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2018-03-02
@sergey-gornostaev

In spherical SQL in a vacuum, it is customary to use the snake case. But in practice, you should stick to the style adopted for the project.
SQL Style Guide

I
idShura, 2018-03-02
@idShura

No difference.

B
bkosun, 2018-03-02
@bkosun

user_id - i.e. snake case
PS www.sqlstyle.guide/ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question