Difference between revisions of "Database Table: zip"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
Line 1: Line 1:
{{Database Table|name=zip|table type=global|need desc=1}}
+
{{Database Table|name=zip|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Revision as of 15:54, 22 July 2010

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

Relationships