zoukankan      html  css  js  c++  java
  • phpmyadmin 导出数据表

    --
    -- 表的结构 `eb_store_category`
    --
    
    DROP TABLE IF EXISTS `eb_store_category`;
    CREATE TABLE `eb_store_category` (
      `id` int(11) NOT NULL COMMENT '商品分类表ID',
      `pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
      `cate_name` varchar(100) NOT NULL DEFAULT '' COMMENT '分类名称',
      `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
      `pic` varchar(128) NOT NULL DEFAULT '' COMMENT '图标',
      `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否推荐',
      `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
      `big_pic` varchar(255) NOT NULL DEFAULT '' COMMENT '分类大图'
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表';
    
    --
    -- 转储表的索引
    --
    
    --
    -- 表的索引 `eb_store_category`
    --
    ALTER TABLE `eb_store_category`
      ADD PRIMARY KEY (`id`) USING BTREE,
      ADD KEY `pid` (`pid`) USING BTREE,
      ADD KEY `is_base` (`is_show`) USING BTREE,
      ADD KEY `sort` (`sort`) USING BTREE,
      ADD KEY `add_time` (`add_time`) USING BTREE;
    
    --
    -- 在导出的表使用AUTO_INCREMENT
    --
    
    --
    -- 使用表AUTO_INCREMENT `eb_store_category`
    --
    ALTER TABLE `eb_store_category`
      MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商品分类表ID';
    COMMIT;
    
    
    
    --
    -- 表的结构 `eb_store_category`
    --
    
    DROP TABLE IF EXISTS `eb_store_category`;
    CREATE TABLE IF NOT EXISTS `eb_store_category` (
      `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商品分类表ID',
      `pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
      `cate_name` varchar(100) NOT NULL DEFAULT '' COMMENT '分类名称',
      `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
      `pic` varchar(128) NOT NULL DEFAULT '' COMMENT '图标',
      `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否推荐',
      `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
      `big_pic` varchar(255) NOT NULL DEFAULT '' COMMENT '分类大图',
      PRIMARY KEY (`id`) USING BTREE,
      KEY `pid` (`pid`) USING BTREE,
      KEY `is_base` (`is_show`) USING BTREE,
      KEY `sort` (`sort`) USING BTREE,
      KEY `add_time` (`add_time`) USING BTREE
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表';
    
  • 相关阅读:
    将C#文档注释生成.chm帮助文档
    Html5shiv
    C#创建COM组件
    WebBrowser控件使用详解
    iframe跨域
    VMware Workstation 虚拟机暂停后无法启动 出现Exception 0xc0000006 (disk error while paging) has occurred.错误
    Java Timer 定时器的使用
    adf笔记
    JS编码解码
    【Python】Django CSRF问题
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/15784460.html
Copyright © 2011-2022 走看看