Difference between revisions of "Database Table: zip"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: This table needs a description.) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format, needs desc, definition) |
||
Line 1: | Line 1: | ||
− | {{Database Table|name=zip|table type=global}} | + | {{Database Table|name=zip|table type=global|need desc=1}} |
− | + | ||
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE zip ( | CREATE TABLE zip ( | ||
− | + | zip varchar(5) NOT NULL default '', | |
− | + | state char(2) NOT NULL default '', | |
− | + | city varchar(100) NOT NULL default '', | |
− | + | ||
− | + | PRIMARY KEY (zip), | |
+ | KEY (state) | ||
) PACK_KEYS=1 | ) PACK_KEYS=1 | ||
</source> | </source> | ||
− | |||
{{Database Table Footer}} | {{Database Table Footer}} |
Revision as of 07:01, 28 January 2010
"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.
Definition
CREATE TABLE zip ( zip VARCHAR(5) NOT NULL DEFAULT '', state CHAR(2) NOT NULL DEFAULT '', city VARCHAR(100) NOT NULL DEFAULT '', PRIMARY KEY (zip), KEY (state) ) PACK_KEYS=1