Java+xml to import data into SQL Server

Source: Internet
Author: User
Tags access database

When we started learning XML and database programming, we all had a lot of documentation and information to start with. The author in the work, just want to use these, a program at hand to organize, its function is very simple, in the Java language from the Access database, some data into the SQL database.

Original Access database table structure:

Table: Production

Product model String type Product number
Part drawing number String type Part number
Picture number String type Tool number

data table structure in SQL Server:

Project Product Table

Id Int Identity
Number Varchar64 Number

Product Parts Table

Id Int Identity
Pid Int Product identification number (associated with the ID in the project table)
Number Varchar64 Number

ComponentType and parts corresponding to the production tools table

Id Int Identity
Aid Int Part identification (associated with an ID in the product table)
Number Varchar64 Number

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.