Table llx c regions: Difference between revisions

Jump to navigation Jump to search
m
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Table SQL]]
[[Category:Table SQL]]
{{ListOfTables}}
{{ListOfTables}}


= Contenu =
= Content/Contenu/Contenido =


{{flag en}} Contains a list of regions for some countries.
{{flag fr}} Contient une liste des regions proposés pour certains pays.
{{flag sp}} Contiene la lista de regiones de varios paises.


= Structure =
= Structure =
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
== Table ==
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
  |style="background-color: #e9e9ef"| <b>Field</b>
  |style="background-color: #e9e9ef"| <b>Field</b>
  |style="background-color: #e9e9ef"| <b>Type</b>
  |style="background-color: #e9e9ef"| <b>Type</b>
Line 14: Line 21:
  |style="background-color: #e9e9ef"| <b>Extra</b>
  |style="background-color: #e9e9ef"| <b>Extra</b>
  |style="background-color: #e9e9ef"| <b>Description</b>
  |style="background-color: #e9e9ef"| <b>Description</b>
|-  
|-  
| rowid  
| rowid  
| int(11)  
| int(11)  
| &nbsp;
| NO
| PRI
| PRI
| NULL
|  
| auto_increment  
| auto_increment  
| technical index
| technical index
|}
|-
| code_region
| int(11)
| NO
|
|
|
| code of region: note this must be a numeric code unique to the entire table/all countries, not just to one country.
|-
| fk_pays
| int(11)
| NO
| MUL
|
|
| ID of related country ([[Table llx_c_pays|llx_c_pays]]->rowid)
|-
| cheflieu
| varchar(7)
| YES
|
| NULL
|
| Postal Code of area or region
|-
| tncc
| int(11)
| YES
|
| NULL
|
| ID of ncc
|-
| nom
| varchar(50)
| YES
|
| NULL
|
| Name of region
|-
| active
| tinyint(4)
| NO
|
| 1
|
| Is the region active?
|}&nbsp;
 
== Keys ==
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
|style="background-color: #e9e9ef"| <b>Key</b>
|style="background-color: #e9e9ef"| <b>Type</b>
|style="background-color: #e9e9ef"| <b>Fields</b>
|-
| PRIMARY
| PRIMARY
| id
|-
| code_region
| UNIQUE
| code_region
|-
| idx_c_regions_fk_pays
| MULTIPLE
| fk_pays
|}&nbsp;
98

edits

Navigation menu