Difference between revisions of "Database Table: userkeywords"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'userkeywords =Definition= <source lang="sql"> CREATE TABLE userkeywords ( userid INT(10) UNSIGNED NOT NULL DEFAULT '0', kwid INT(...')
 
Line 1: Line 1:
[[Category: Database Table|userkeywords]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE userkeywords (
 
CREATE TABLE userkeywords (
Line 11: Line 11:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Clustered database]]
 
[[Clustered database]]
 +
 +
[[Category: Database Tables|userkeywords]]

Revision as of 14:13, 1 April 2009

Definition

CREATE TABLE userkeywords (
    userid      INT(10) UNSIGNED NOT NULL DEFAULT '0',
    kwid        INT(10) UNSIGNED NOT NULL DEFAULT '0',
    keyword     VARCHAR(80) BINARY NOT NULL,
    PRIMARY KEY (userid, kwid),
    UNIQUE KEY  (userid, keyword)
)

Relationships

Location

Clustered database