PowerDesigner Generating an Access database

Source: Internet
Author: User

1. Open PowerDesigner, set PowerDesigner's current database as access;

2, the new table structure (physical model) in PowerDesigner;

3, PowerDesigner Menu: Database--Generate database ... (shortcut key ctrl+g);

In the dialog box that pops up, set the directory and file name (with the DAT suffix) value of the database script that you want to generate.

In the pop-up dialog box, Format tab, set encoding to Simplified Chinese GB2312;

Finally click "OK" button to generate database script;

4, double hit Open <powerdesigner_directory>\tools\access.mdb, note: need to open macro;

5. Select "Generate Access database from PowerDesigner Script file"

6. Enter the target path of the database in "Select Databases", or use the button on the right to select the path;

7. Enter the path to the script file generated in the previous step in the "script file", or use the button on the right to select the path;

8, the last click "Create";

9, wait a moment, complete the script generated from PowerDesigner to create an Access database.

Original: http://wiflish.iteye.com/blog/973007

Note the point:

1, the length of the varchar2 can not exceed 255, otherwise there will be "type mismatch" and other error prompts,

Therefore, you need to modify the type of more than 255 length fields to text.

2. Access does not support the Numberic type and needs to be modified to number.

3. The <powerdesigner_directory>\tools\access.mdb file also features a reverse script generation from an Access database

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.