Difference between revisions of "Database Table: zip"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use database table header template.)
m (Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Database Table|name=zip|table type=global}}
+
{{Database Table|name=zip|table type=global|repo=dw-free|removed=1|removed in=686ffe7495de}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE zip (
 
CREATE TABLE zip (
  zip varchar(5) NOT NULL default '',
+
    zip varchar(5) NOT NULL default '',
  state char(2) NOT NULL default '',
+
    state char(2) NOT NULL default '',
  city varchar(100) NOT NULL default '',
+
    city varchar(100) NOT NULL default '',
  PRIMARY KEY  (zip),
+
 
  KEY (state)
+
    PRIMARY KEY  (zip),
 +
    KEY (state)
 
) PACK_KEYS=1
 
) PACK_KEYS=1
 
</source>
 
</source>
 
+
{{Database Table Footer|no_out_rels=1|removed=1}}
{{Database Table Footer}}
+

Latest revision as of 21:15, 15 October 2010

Note: This table is removed and no longer used. This table was removed in dw-free changeset 686ffe7495de [1]
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