Difference between revisions of "Database Table: zip"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc, definition)
Line 11: Line 11:
 
) PACK_KEYS=1
 
) PACK_KEYS=1
 
</source>
 
</source>
{{Database Table Footer}}
+
{{Database Table Footer|no_out_rels=1}}

Revision as of 15:37, 3 February 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

Relationships