标签:des style blog color io 数据 ar art
批量表产品名称过长导致被截断的情况,是由于产品名称超出了数据库表中字段设置的最大长度,下面通过修改数据库表字段长度来避免此类情况发生:
ALTER TABLE categories MODIFY categories_image varchar(256) ; ALTER TABLE categories_description MODIFY categories_name varchar(256) ; ALTER TABLE products MODIFY products_model varchar(256) ; ALTER TABLE products MODIFY products_image varchar(256) ; ALTER TABLE products_description MODIFY products_name varchar(256) ; ALTER TABLE address_book MODIFY entry_firstname varchar(256) ; ALTER TABLE address_book MODIFY entry_lastname varchar(256) ; ALTER TABLE categories_description MODIFY categories_name varchar(256) ; ALTER TABLE configuration_group MODIFY configuration_group_title varchar(256) ; ALTER TABLE customers_wishlist MODIFY products_name varchar(256) ; ALTER TABLE customers_wishlist MODIFY wishlist_name varchar(256) ; ALTER TABLE files_uploaded MODIFY files_uploaded_name varchar(256) ; ALTER TABLE orders MODIFY customers_name varchar(256) ; ALTER TABLE orders MODIFY customers_email_address varchar(256) ; ALTER TABLE orders MODIFY delivery_name varchar(256) ; ALTER TABLE orders MODIFY billing_name varchar(256) ; ALTER TABLE orders MODIFY cc_owner varchar(256) ; ALTER TABLE orders_products MODIFY products_name varchar(256) ; ALTER TABLE orders_products MODIFY products_model varchar(256) ; ALTER TABLE address_book MODIFY entry_street_address varchar(256) ;
zencart加大数据表字段长度,布布扣,bubuko.com
标签:des style blog color io 数据 ar art
原文地址:http://www.cnblogs.com/afish/p/3919821.html