Opened 17 years ago
#273 new enhancement
Change data dalues for the column "name" for code_group table to be more descriptive
| Reported by: | dbmulg | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | minor | Milestone: | Final |
| Component: | Database, Data Updates | Version: | 1.0.3660.32558 |
| Severity: | Keywords: | Code Group Naming Convention | |
| Cc: | Brock Weaver | Database Engine: | N/A |
| Operating System: | N/A |
Description
Right now, the values are autogenerated values such as Group1, Group 2 etc.,
Need to change them to be descriptive, to link them to the codes category they are representing, so the query can point to the record here without directly using auto-increse value in column code_group_code, but using the value in name column. (the auto-incresed or identity column value could change to other value when replicating DB to other DB, for example).
the new naming covention would be:
the name column value for each code_group_code, could be the column name of the code_value in its table, plus a “s”.
For example:
site_code in many tables, will be given a name in the code_group_code table as “Site Codes”,
country_code in geography table was given a name in the code_group_code table as “Country Codes”
and so on…
Note:
This change, in the end, would indicate that we need to modify many queuries/dataviews to make use the code_group name, not the absolute value (141, 70 etc). But this will be a new ticket when the time comes.
