Powerdesigner script export details

Source: Internet
Author: User
Love about the Internet: weibo. comu39239000088 step: the scripts exported by databaseGenerateDatabase must be adjusted in the following places: mysql5.5 Test Result: 1: fields with autocreament. The primary key constraint must be placed in the table creation statement and cannot be added outside through alter. This field must be the primary key. Example: CRES

Love Chat network that thing: http://weibo.com/u/3923942488 step: database = GenerateDatabase export scripts need to be adjusted are: mysql5.5 test results: 1: With autocreament field, the primary key constraint must be placed in the table creation statement. It cannot be added outside the table by using alter. This field must be the primary key. Example: CRES

Love Chat network that thing: http://weibo.com/u/3923942488

Step: database => GenerateDatabase

The exported scripts must be adjusted in the following ways:
Mysql5.5 test results:
1: fields with autocreament. The primary key constraint must be placed in the table creation statement. It cannot be added outside by using alter. This field must be the primary key.
For example:
Create table t_sys_group
(
Id int not null AUTO_INCREMENT,
Group_name VARCHAR (10) not null,
Description VARCHAR (255 ),
Builder VARCHAR (10) not null,
Build_time datetime not null,
Primary key (id)
);

# Alter table t_sys_group
# Add primary key (id );

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.