Table p_formality |
Description: Contains the text used in letters |
PRIMARY KEY | ||
p_language_code_c
varchar (20) default: '99' NOT NULL | This is the code used to identify a language. | p_language |
p_country_code_c
varchar (8) NOT NULL | This is a code which identifies a country. It is taken from the ISO 3166-1-alpha-2 code elements. | p_country |
p_addressee_type_code_c
varchar (24) NOT NULL | p_addressee_type | |
p_formality_level_i
integer default: 1 CHECK ( p_formality_level_i >= 1 AND p_formality_level_i <= 6) NOT NULL | ||
p_salutation_text_c
varchar (64) | ||
p_title_c
varchar (24) | ||
p_complimentary_closing_text_c
varchar (64) | ||
p_personal_pronoun_c
varchar (24) | ||
s_date_created_d
date default: CURRENT_DATE | The date the record was created. | |
s_created_by_c
varchar (20) | User ID of who created this record. | s_user |
s_date_modified_d
date | The date the record was modified. | |
s_modified_by_c
varchar (20) | User ID of who last modified this record. | s_user |
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP | This identifies the current version of the record. | |
FOREIGN KEY p_formality_fk1: p_language_code_c => p_language p_formality_fk2: p_country_code_c => p_country p_formality_fk3: p_addressee_type_code_c => p_addressee_type p_formality_fkcr: s_created_by_c => s_user p_formality_fkmd: s_modified_by_c => s_user |