Difference between revisions of "Database Table: pollquestion"

From Dreamwidth Notes
Jump to: navigation, search
m (typo)
Line 2: Line 2:
  
 
[[Category: Obsolete Database Tables|pollquestion]]
 
[[Category: Obsolete Database Tables|pollquestion]]
 +
=Definition=
 +
<source lang="sql">
 +
CREATE TABLE pollquestion (
 +
  pollid int(10) unsigned NOT NULL default '0',
 +
  pollqid tinyint(3) unsigned NOT NULL default '0',
 +
  sortorder tinyint(3) unsigned NOT NULL default '0',
 +
  type enum('check','radio','drop','text','scale') default NULL,
 +
  opts varchar(20) default NULL,
 +
  qtext text,
 +
  PRIMARY KEY  (pollid,pollqid)
 +
)
 +
</source>
 +
 +
=Relationships=
 +
 +
=Location=
 +
[[Global database]]

Revision as of 23:18, 22 March 2009

Global database; deprecated in favor of pollquestion2 (clustered).

Definition

CREATE TABLE pollquestion (
  pollid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  pollqid tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  sortorder tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  TYPE enum('check','radio','drop','text','scale') DEFAULT NULL,
  opts VARCHAR(20) DEFAULT NULL,
  qtext text,
  PRIMARY KEY  (pollid,pollqid)
)

Relationships

Location

Global database