Re: "you should define a primary key for this table" - why?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: "you should define a primary key for this table" - why?

From: Gerard <calibishie@gmail.com>
Date: Sat Sep 24 2005 - 15:17:58 CEST

CREATE TABLE `usr_languages` (
   `pageName` varchar(25) default '',
   `itemNo` int(11) default '0',
   `en` text,
   `fr` text,
   `it` text
   PRIMARY KEY ( `pageName` , `itemNo` )
 ) TYPE=MyISAM COMMENT='different languages';

I guess this should help in you with this table definition.

Regards,
Gerard
Received on Tue Oct 18 02:27:34 2005