СЕРВЕР:
CREATE TABLE `lspt_clients` (
`clid` int(10) unsigned NOT NULL auto_increment,
`cl_cat` enum('state','firm','group','private') NOT NULL default 'firm',
`par_clid` int(10) unsigned NOT NULL default '0',
`cl_sname` varchar(128) default NULL,
`cl_name` varchar(255) default NULL,
`logo_file` varchar(128) default NULL,
`cl_region` varchar(64) default NULL,
`cl_zip` mediumint(6) unsigned default NULL,
`cl_town` varchar(32) default NULL,
`cl_street` varchar(64) default NULL,
`cl_bldng` varchar(16) default NULL,
`cl_apt` varchar(32) default NULL,
`cl_sdesc` varchar(256) NOT NULL,
`cl_fdesc` text,
`cl_notes` varchar(256) default NULL,
`cl_status` enum('none','formoderate','active','blocked') NOT NULL default 'none',
`tstamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
PRIMARY KEY (`clid`),
KEY `cl_cat` (`cl_cat`),
KEY `cl_sname` (`cl_sname`),
KEY `cl_name` (`cl_name`),
KEY `par_clid` (`par_clid`),
KEY `cl_sdesc` (`cl_sdesc`),
KEY `cl_fdesc` (`cl_fdesc`(333))
) ENGINE=MyISAM AUTO_INCREMENT=858 DEFAULT CHARSET=utf8 PACK_KEYS=1 CHECKSUM=1 COMMENT='Общий список клиентов'
LOCALHOST:CREATE TABLE `lspt_clients` (
`clid` int(10) unsigned NOT NULL auto_increment,
`cl_cat` enum('state','firm','group','private') NOT NULL default 'firm',
`par_clid` int(10) unsigned NOT NULL default '0',
`cl_sname` varchar(128) NOT NULL,
`cl_name` varchar(255) default NULL,
`logo_file` varchar(128) default NULL,
`cl_region` varchar(64) default NULL,
`cl_zip` mediumint(6) unsigned default NULL,
`cl_town` varchar(32) default NULL,
`cl_street` varchar(128) default NULL,
`cl_bldng` varchar(16) default NULL,
`cl_apt` varchar(32) default NULL,
`cl_sdesc` varchar(256) default NULL,
`cl_fdesc` text,
`cl_notes` varchar(256) default NULL,
`cl_status` enum('none','formoderate','active','blocked') NOT NULL default 'active',
`tstamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
PRIMARY KEY (`clid`),
KEY `par_clid` (`par_clid`),
KEY `cl_cat` (`cl_cat`),
KEY `cl_sname` (`cl_sname`),
KEY `cl_name` (`cl_name`),
KEY `cl_sdesc` (`cl_sdesc`),
KEY `cl_fdesc` (`cl_fdesc`(333))
) ENGINE=MyISAM AUTO_INCREMENT=345 DEFAULT CHARSET=utf8 PACK_KEYS=1 CHECKSUM=1 COMMENT='Общий список клиентов'
По-моему всё одинаково...
Да я и с разными регистрами пробовал.
Отредактированно latgal (18.08.2009 22:19:33)