立即创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:DBErp进销存-仓库派单:http://open.yesapi.cn/tablelist/yesapi_dberp_purchase_warehouse_order.html


-- 数据库大全:DBErp进销存-仓库派单
-- 来源:YesApi.cn
CREATE TABLE `yesapi_dberp_purchase_warehouse_order` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `p_order_id` int(11) NOT NULL COMMENT '',
    `warehouse_id` int(11) NOT NULL COMMENT '',
    `warehouse_order_sn` varchar(50) NOT NULL COMMENT '',
    `warehouse_order_state` tinyint(1) NOT NULL DEFAULT '2' COMMENT '',
    `warehouse_order_info` varchar(255) NOT NULL COMMENT '',
    `admin_id` int(11) NOT NULL COMMENT '',
    `warehouse_order_goods_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `warehouse_order_tax` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `warehouse_order_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `warehouse_order_payment_code` varchar(20) NOT NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'DBErp进销存-仓库派单';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-10 条, 共 10 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
p_order_idint(11)无索引
warehouse_idint(11)无索引
warehouse_order_snvarchar(50)无索引
warehouse_order_statetinyint(1)2无索引2
warehouse_order_infovarchar(255)无索引
admin_idint(11)无索引
warehouse_order_goods_amountdecimal(19,4)0.0000无索引0.0000
warehouse_order_taxdecimal(19,4)0.0000无索引0.0000
warehouse_order_amountdecimal(19,4)0.0000无索引0.0000
warehouse_order_payment_codevarchar(20)无索引

回到顶部 ↑