Import data from XML files to SQL Server tables at one time

by

Want to bulk import XML files into SQL Server tables at one time?

Using Withdata software File To DB, a XML to SQL Server converter for SQL Server for Windows, MacOS, and Linux, you can bulk import XML files into SQL Server tables in one go.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert locally and privately, avoid uploading large or private XML file(s) to online services.

Download FileToDB Download FileToDB

Bulk import XML files into SQL Server tables

Login to SQL Server -> Choose XML files -> Set SQL Server tables -> Import XML files to SQL Server tables

Choose SQL Server and logon.

bulk import XML files into SQL Server  tables - Choose SQL Server and logon

Click “Wizard – N Files To N Tables” at task dialog.

bulk import XML files into SQL Server  tables - task window

Select the “XML” file type.

bulk load XML files into SQL Server  tables - select file type

then show the wizard.

1. Select a folder that constains XML files.

bulk import XML files into SQL Server  tables - select a folder

2. Config first XML file importing options.

bulk import XML files into SQL Server  tables - config first file

3. Set “Import Type”.

bulk import XML files into SQL Server  tables - set tables

4. Map SQL Server tables to XML files.

bulk import XML files into SQL Server  tables - map

5. Summary. Set “Convert Rows” and “Skip Rows” if need.

bulk import XML files into SQL Server  tables - preview

6. Import XML files to SQL Server tables, 1 file to 1 table, one by one.

bulk import XML files into SQL Server  tables - import data

View imported data in SQL Server table

bulk import XML files into SQL Server  tables - view data

Bulk import XML files into SQL Server tables in command line

Save “bulk XML files to SQL Server tables” session, then you can:

Set scheduled tasks for bulk importing XML files into SQL Server tables

You can schedule and automate this converting task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS)

2) Set scheduled task.

FAQ


More about FileToDBXML to SQL Server converter