MySQL's Build table statement

Source: Internet
Author: User

CREATE TABLE ' Delivery_id_pool ' (' id ' bigint () Not NULL auto_increment COMMENT ' self-increment id ', ' delivery_id ' varchar (Not NULL COMMENT ' waybill number ', ' status ' tinyint (1) DEFAULT ' 1 ' COMMENT ' status [1: Used, 0: not used] ', ' batch_id 'int(one) DEFAULT NULL COMMENT ' batch number ', ' Create_time ' datetime not NULL DEFAULT' 0000-00-00 00:00:00 ' COMMENT ' creation time ', ' update_time ' datetime DEFAULT NULL COMMENT' Update Time ', ' yn ' tinyint (1) DEFAULT ' 1 ' COMMENT ' is valid ', ' ts ' timestamp not NULL DEFAULT current_timestamp on UPDATE current_timestamp COMMENT' Time stamp ', PRIMARY key (' id ', ' create_time '), key ' idx_delivery_id ' (' delivery_id ')) ENGINE=innodb auto_increment=2646421 DEFAULT Charset=utf8 comment= ' waybill number cache pool table-Manually generated waybill number ';

MySQL's Build table statement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.