zencart 清空产品 订单客户 sql语句
2017-03-05 21:58
441 查看
TRUNCATE TABLE categories;
TRUNCATE TABLE categories_description;
TRUNCATE TABLE product_music_extra;
TRUNCATE TABLE product_types_to_category;
TRUNCATE TABLE products;
TRUNCATE TABLE products_attributes;
TRUNCATE TABLE products_attributes_download;
TRUNCATE TABLE products_description;
TRUNCATE TABLE products_discount_quantity;
TRUNCATE TABLE products_notifications;
TRUNCATE TABLE products_options;
TRUNCATE TABLE products_options_types;
TRUNCATE TABLE products_options_values;
TRUNCATE TABLE products_options_values_to_products_options;
TRUNCATE TABLE products_to_categories;
TRUNCATE TABLE meta_tags_categories_description;
TRUNCATE TABLE meta_tags_products_description;
TRUNCATE TABLE featured;
TRUNCATE TABLE salemaker_sales;
TRUNCATE TABLE specials;
TRUNCATE TABLE group_pricing;
TRUNCATE TABLE manufacturers;
TRUNCATE TABLE manufacturers_info;
TRUNCATE TABLE customers;
TRUNCATE TABLE customers_info;
TRUNCATE TABLE orders;
TRUNCATE TABLE orders_products;
TRUNCATE TABLE orders_products_attributes;
TRUNCATE TABLE seo_cache;
TRUNCATE TABLE sessions;
TRUNCATE TABLE whos_online;
TRUNCATE TABLE orders_total;
TRUNCATE TABLE orders_status_history;
TRUNCATE TABLE address_book;
TRUNCATE TABLE admin_activity_log;
TRUNCATE TABLE banners_history;
TRUNCATE TABLE counter;
TRUNCATE TABLE counter_history;
TRUNCATE TABLE coupon_redeem_track;
TRUNCATE TABLE customers_basket;
TRUNCATE TABLE customers_basket_attributes;
TRUNCATE TABLE categories_description;
TRUNCATE TABLE product_music_extra;
TRUNCATE TABLE product_types_to_category;
TRUNCATE TABLE products;
TRUNCATE TABLE products_attributes;
TRUNCATE TABLE products_attributes_download;
TRUNCATE TABLE products_description;
TRUNCATE TABLE products_discount_quantity;
TRUNCATE TABLE products_notifications;
TRUNCATE TABLE products_options;
TRUNCATE TABLE products_options_types;
TRUNCATE TABLE products_options_values;
TRUNCATE TABLE products_options_values_to_products_options;
TRUNCATE TABLE products_to_categories;
TRUNCATE TABLE meta_tags_categories_description;
TRUNCATE TABLE meta_tags_products_description;
TRUNCATE TABLE featured;
TRUNCATE TABLE salemaker_sales;
TRUNCATE TABLE specials;
TRUNCATE TABLE group_pricing;
TRUNCATE TABLE manufacturers;
TRUNCATE TABLE manufacturers_info;
TRUNCATE TABLE customers;
TRUNCATE TABLE customers_info;
TRUNCATE TABLE orders;
TRUNCATE TABLE orders_products;
TRUNCATE TABLE orders_products_attributes;
TRUNCATE TABLE seo_cache;
TRUNCATE TABLE sessions;
TRUNCATE TABLE whos_online;
TRUNCATE TABLE orders_total;
TRUNCATE TABLE orders_status_history;
TRUNCATE TABLE address_book;
TRUNCATE TABLE admin_activity_log;
TRUNCATE TABLE banners_history;
TRUNCATE TABLE counter;
TRUNCATE TABLE counter_history;
TRUNCATE TABLE coupon_redeem_track;
TRUNCATE TABLE customers_basket;
TRUNCATE TABLE customers_basket_attributes;
相关文章推荐
- Magento联表查询产品的Group Price 以及 历史已完成订单的产品的price 的 SQL 语句
- zencart网站获取所有产品ID和所属分类的SQL语句
- zencart如何清空商品演示数据和没有商品数据的sql执行语句 zencart如何清空商品演示数据和没有商品数据的sql执行语句
- zencart如何清空商品演示数据和没有商品数据的sql执行语句
- MySQL 快速清空Magento 订单、客户、 产品 表信息
- Sql 清空数据库表的数据语句
- 自动生成清空数据库的SQL语句
- 清空SQL Server数据库日志的SQL语句
- 使用SQL语句清空数据库所有表的数据
- 客户表结构SQL语句
- 清空数据表sql语句
- Zencart如何实现将客户的reviews展示在产品信息中?
- 毕业论文设计客户订单界面及代码(WinForm之间传递参数,公式的Sql计算方式)
- 使用SQL语句清空数据库所有表的数据
- T-SQL语句实现清空数据库数据的代码,保留原有表形式和各种约束
- 使用SQL语句清空数据库所有表的数据(转)
- 使用动态SQL语句实现Sbo的客户物料组销售二维分析
- 构造为一条SQL语句清空数据库
- 一段用于清空数据库中所有的用户表的SQL语句[原创]
- 在测试sql语句性能时先清空缓存【转自:http://www.cnblogs.com/yukaizhao/archive/2008/04/24/1168647.html】