Locale: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 26: | Line 26: | ||
SELECT | SELECT | ||
id, | id, | ||
data_type_code, | |||
data_type_name, | data_type_name, | ||
enter_at, | enter_at, | ||
Line 41: | Line 41: | ||
SELECT | SELECT | ||
id, | id, | ||
error_type_code, | |||
error_type_name, | error_type_name, | ||
enter_at, | enter_at, | ||
Line 56: | Line 56: | ||
SELECT | SELECT | ||
id, | id, | ||
mime_type_code, | |||
mime_type_name, | mime_type_name, | ||
enter_at, | enter_at, | ||
Line 74: | Line 74: | ||
SELECT | SELECT | ||
id, | id, | ||
table_code, | |||
table_name, | table_name, | ||
data_type_code, | |||
Line 93: | Line 93: | ||
SELECT | SELECT | ||
id, | id, | ||
form_code, | |||
form_name, | form_name, | ||
data_type_code, | |||
apps_type, | apps_type, | ||
base_flag, | base_flag, | ||
Line 112: | Line 112: | ||
SELECT | SELECT | ||
id, | id, | ||
report_code, | |||
report_name, | report_name, | ||
data_type_code, | |||
Line 131: | Line 131: | ||
SELECT | SELECT | ||
id, | id, | ||
error_code, | |||
error_name, | error_name, | ||
error_type_code, | |||
Line 153: | Line 153: | ||
SELECT | SELECT | ||
id, | id, | ||
field_code, | |||
table_code, | |||
field_order, | field_order, | ||
field_name, | field_name, | ||
Line 170: | Line 170: | ||
SELECT | SELECT | ||
id, | id, | ||
label_code, | |||
form_code, | |||
label_name, | label_name, | ||
label_value, | label_value, | ||
Line 187: | Line 187: | ||
SELECT | SELECT | ||
id, | id, | ||
label_code, | |||
report_code, | |||
label_name, | label_name, | ||
label_value, | label_value, | ||
Line 207: | Line 207: | ||
SELECT | SELECT | ||
id, | id, | ||
lingo_code, | |||
iso_alpha2_lingo_code, | |||
iso_alpha3_lingo_code, | |||
Line 229: | Line 229: | ||
SELECT | SELECT | ||
id, | id, | ||
country_code, | |||
iso_alpha2_country_code, | |||
iso_alpha3_country_code, | |||
longitude, | longitude, | ||
latitude, | latitude, | ||
Line 252: | Line 252: | ||
SELECT | SELECT | ||
id, | id, | ||
notes_code, | |||
iso_alpha3_notes_code, | |||
iso_alpha3_state_code, | |||
iso_numeric_code, | |||
official_flag, | official_flag, | ||
decimal_point, | decimal_point, | ||
Line 277: | Line 277: | ||
SELECT | SELECT | ||
id, | id, | ||
translated_code, | |||
table_code, | |||
field_code, | |||
field_value, | field_value, | ||
iso_alpha2_lingo_code, | |||
iso_alpha2_state_code, | |||
translated_value, | translated_value, | ||
enter_at, | enter_at, | ||
Line 297: | Line 297: | ||
SELECT | SELECT | ||
id, | id, | ||
translated_code, | |||
form_code, | |||
label_code, | |||
iso_alpha2_lingo_code, | |||
iso_alpha2_state_code, | |||
translated_value, | translated_value, | ||
enter_at, | enter_at, | ||
Line 317: | Line 317: | ||
SELECT | SELECT | ||
id, | id, | ||
translated_code, | |||
report_code, | |||
label_code, | |||
iso_alpha2_lingo_code, | |||
iso_alpha2_state_code, | |||
translated_value, | translated_value, | ||
enter_at, | enter_at, | ||
Line 337: | Line 337: | ||
SELECT | SELECT | ||
id, | id, | ||
translated_code, | |||
error_code, | |||
iso_alpha2_lingo_code, | |||
iso_alpha2_state_code, | |||
translated_value, | translated_value, | ||
enter_at, | enter_at, |
Revision as of 16:53, 15 May 2020
static char *base36enc(long unsigned int value) {
char base36[36] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
/* log(2**64) / log(36) = 12.38 => max 13 char + '\0' */
char buffer[14];
unsigned int offset = sizeof(buffer);
buffer[--offset] = '\0';
do {
buffer[--offset] = base36[value % 36];
} while (value /= 36);
return strdup(&buffer[offset]); // warning: this must be free-d by the user
}
static long unsigned int base36dec(const char *text) {
return strtoul(text, NULL, 36);
}
Types
DataSELECT
id,
data_type_code,
data_type_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM00X00
|
ErrorSELECT
id,
error_type_code,
error_type_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM01X00
|
MimeSELECT
id,
mime_type_code,
mime_type_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM##X00
|
Objects
TablesSELECT
id,
table_code,
table_name,
data_type_code,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM02X00
|
FormsSELECT
id,
form_code,
form_name,
data_type_code,
apps_type,
base_flag,
base_form,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM03X00
|
ReportsSELECT
id,
report_code,
report_name,
data_type_code,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM04X00
|
ErrorsSELECT
id,
error_code,
error_name,
error_type_code,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM05X00
|
Labels
FieldsSELECT
id,
field_code,
table_code,
field_order,
field_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM06X00
|
FormsSELECT
id,
label_code,
form_code,
label_name,
label_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM07X00
|
ReportsSELECT
id,
label_code,
report_code,
label_name,
label_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TM08X00
|
Localizations
LanguagesSELECT
id,
lingo_code,
iso_alpha2_lingo_code,
iso_alpha3_lingo_code,
lingo_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL00X00
|
CountriesSELECT
id,
country_code,
iso_alpha2_country_code,
iso_alpha3_country_code,
longitude,
latitude,
altitude,
country_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL01X00
|
CurrenciesSELECT
id,
notes_code,
iso_alpha3_notes_code,
iso_alpha3_state_code,
iso_numeric_code,
official_flag,
decimal_point,
notes_symbol,
crypto_flag,
notes_name,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL02X00
|
Translations
TablesSELECT
id,
translated_code,
table_code,
field_code,
field_value,
iso_alpha2_lingo_code,
iso_alpha2_state_code,
translated_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL03X00
|
FormsSELECT
id,
translated_code,
form_code,
label_code,
iso_alpha2_lingo_code,
iso_alpha2_state_code,
translated_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL04X00
|
ReportsSELECT
id,
translated_code,
report_code,
label_code,
iso_alpha2_lingo_code,
iso_alpha2_state_code,
translated_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL05X00
|
ErrorsSELECT
id,
translated_code,
error_code,
iso_alpha2_lingo_code,
iso_alpha2_state_code,
translated_value,
enter_at,
enter_by,
amend_at,
amend_by
FROM
M00TL06X00
|