Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DATE_ID | INT | 10 | null |
|
|
Entry full date unique ID (year+month+day+hour). |
|||||||||||
| YEAR | INT | 10 | null |
|
|
Date year number. |
|||||||||||
| MONTH | INT | 10 | null |
|
|
Date month number |
|||||||||||
| DAY | INT | 10 | null |
|
|
Date day number. |
|||||||||||
| MONTH_NAME | VARCHAR | 10 | null |
|
|
Full month name. |
|||||||||||
| DAY_OF_WEEK | VARCHAR | 10 | null |
|
|
Any one of the seven days in a week. |
|||||||||||
| QUARTER | INT | 10 | null |
|
|
Quarter number (1, 2, 3). |
|||||||||||
| SEMESTER | INT | 10 | null |
|
|
Semester number (1, 2). |
|||||||||||
| CREATED_AT | DATETIME | 26 | CURRENT_TIMESTAMP(6) |
|
|
Timestamp value to register a record creation time. |
|||||||||||
| UPDATED_AT | DATETIME | 26 | √ | CURRENT_TIMESTAMP(6) |
|
|
Timestamp value to register a record update time. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | DATE_ID |

