issues
search
OHDSI
/
CureIdRegistry
https://cureid.github.io/
14
stars
9
forks
source link
Round3 linting
#26
Closed
smkordik78
closed
6 months ago
smkordik78
commented
8 months ago
Be consistent with table references - either all or none
If multiple tables used in query, use table references to avoid ambiguity
Allow subqueries in FROM or JOIN statements but not both, use Common Table Expressions (CTEs) as alternative
If using DESC or ASC for any column, all columns should have a designation
Use a consistent convention for casting CONVERT, CAST or ::
Use fully qualified joins, e.g. INNER, LEFT, RIGHT, etc.
ELSE NULL is redundant in a CASE statement, just use ELSE