|
|
发表于 2009/7/30 22:52:44
|
显示全部楼层
本帖最后由 jesk 于 2009/7/30 22:54 编辑
- DROP TABLE IF EXISTS `crm_discussion_details`;
- CREATE TABLE `crm_discussion_details` (
- `id` int(10) unsigned NOT NULL auto_increment,
- `discussion_ID` varchar(255) NOT NULL default '',
- `DETAILS_NUMBER` int(10) NOT NULL default '0',
- `PRODUCT_ID` varchar(255) NOT NULL default '',
- `PRODUCT_NAME` varchar(255) NOT NULL default '',
- `PRODUCT_DESCRIBE` varchar(255) NOT NULL default '',
- `LIST_PRICE` decimal(30,10) NOT NULL default '0.0000000000',
- `OFF_DISCOUNT` decimal(30,10) NOT NULL default '0.0000000000',
- `COST_PRICE` decimal(30,10) NOT NULL de ault '0.0000000000',
- `SUBTOTAL` decimal(30,10) NOT NULL default '0.0000000000',
- `AMOUNT` decimal(30,10) NOT NULL default '0.0000000000',
- `AMOUNT_UNIT` varchar(255) NOT NULL default '',
- `SERIAL_NUMBER` mediumtext NOT NULL default '',
- `REAL_COST_PRICE` decimal(30,10) NOT NULL default '0.0000000000',
- `AMOUNT_NUMBER` mediumtext NOT NULL default '',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
复制代码
好像是这里的第11行写错啦 default
SQL文件line530 |
|