Convention for Database Tables: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Types of | == Types of Table == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 11: | Line 11: | ||
|- | |- | ||
| J || Join || Join Tables '''n - n''' || T00J00 ~ TZZJZZ || | | J || Join || Join Tables '''n - n''' || T00J00 ~ TZZJZZ || | ||
|- | |||
| L || Local || Local Tables || T00L00 ~ TZZLZZ || | |||
|- | |- | ||
| M || Metadata || Metadata Tables || T00M00 ~ TZZMZZ || | | M || Metadata || Metadata Tables || T00M00 ~ TZZMZZ || | ||
Line 17: | Line 19: | ||
|} | |} | ||
==Nomenclature | == Nomenclature == | ||
[T]{1} | [T]{1}─────────────T─┐ | ||
├─T00┐ | |||
[0-9A-Z]{2} | [0-9A-Z]{2}────────00┘ │ | ||
├─T00AYZ | |||
[ | [A|E|I|J|L|M|S]{1}─A─┐ │ | ||
├─AYZ┘ | |||
[0-9A-Z]{2} | [0-9A-Z]{2}────────YZ┘ | ||
=== | === Audit Tables === | ||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ | ||
[0-9A-Z]{2}─00┘ │ | [0-9A-Z]{2}─00┘ │ | ||
├─T00AYZ | |||
[ | [A]{1}──────A─┐ │ | ||
├─AYZ┘ | |||
[0-9A-Z]{2}─YZ┘ | [0-9A-Z]{2}─YZ┘ | ||
=== | === Entries Tables === | ||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ | ||
Line 44: | Line 46: | ||
[0-9A-Z]{2}─YZ┘ | [0-9A-Z]{2}─YZ┘ | ||
=== | === Identity Tables === | ||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ | ||
Line 53: | Line 55: | ||
[0-9A-Z]{2}─YZ┘ | [0-9A-Z]{2}─YZ┘ | ||
=== | === Join Tables === | ||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ | ||
Line 62: | Line 64: | ||
[0-9A-Z]{2}─YZ┘ | [0-9A-Z]{2}─YZ┘ | ||
=== | === Local Tables === | ||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ | ||
Line 71: | Line 73: | ||
[0-9A-Z]{2}─YZ┘ | [0-9A-Z]{2}─YZ┘ | ||
=== | === Metadata Tables === | ||
[T]{1}──────T─┐ | |||
├─T00┐ | |||
[0-9A-Z]{2}─00┘ │ | |||
├─T00MYZ | |||
[M]{1}──────M─┐ │ | |||
├─MYZ┘ | |||
[0-9A-Z]{2}─YZ┘ | |||
=== Settings Tables === | |||
[T]{1}──────T─┐ | [T]{1}──────T─┐ | ||
├─T00┐ | ├─T00┐ |
Revision as of 10:31, 22 January 2018
Types of Table
Code | Types | Purpose | Tables | Views |
---|---|---|---|---|
A | Audit | Audit Tables | T00A00 ~ TZZAZZ | |
E | Entries | Entries Tables | T00E00 ~ TZZEZZ | V00E00 ~ VZZEZZ |
I | Identity | Identity Tables | T00I00 ~ TZZIZZ | |
J | Join | Join Tables n - n | T00J00 ~ TZZJZZ | |
L | Local | Local Tables | T00L00 ~ TZZLZZ | |
M | Metadata | Metadata Tables | T00M00 ~ TZZMZZ | |
S | Settings | Settings Tables | T00S00 ~ TZZSZZ | V00S00 ~ VZZSZZ |
Nomenclature
[T]{1}─────────────T─┐ ├─T00┐ [0-9A-Z]{2}────────00┘ │ ├─T00AYZ [A|E|I|J|L|M|S]{1}─A─┐ │ ├─AYZ┘ [0-9A-Z]{2}────────YZ┘
Audit Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00AYZ [A]{1}──────A─┐ │ ├─AYZ┘ [0-9A-Z]{2}─YZ┘
Entries Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00EYZ [E]{1}──────E─┐ │ ├─EYZ┘ [0-9A-Z]{2}─YZ┘
Identity Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00IYZ [I]{1}──────I─┐ │ ├─IYZ┘ [0-9A-Z]{2}─YZ┘
Join Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00JYZ [J]{1}──────J─┐ │ ├─JYZ┘ [0-9A-Z]{2}─YZ┘
Local Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00LYZ [L]{1}──────L─┐ │ ├─JYZ┘ [0-9A-Z]{2}─YZ┘
Metadata Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00MYZ [M]{1}──────M─┐ │ ├─MYZ┘ [0-9A-Z]{2}─YZ┘
Settings Tables
[T]{1}──────T─┐ ├─T00┐ [0-9A-Z]{2}─00┘ │ ├─T00SYZ [S]{1}──────S─┐ │ ├─SYZ┘ [0-9A-Z]{2}─YZ┘