Import data from XML file to SQL Server

by

Want to import data from XML file to SQL Server ?

Try Withdata FileToDB, a desktop XML to SQL Server converter for Windows, MacOS, and Linux, Convert XML to SQL Server, Easy and Fast.

  • 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 Withdata FileToDB Download FileToDB

Import data from XML file to SQL Server

Login to SQL Server -> Choose XML file -> Set SQL Server table -> Import XML to SQL Server

Choose SQL Server and logon.

load XML data to SQL Server table - Choose SQL Server and logon

Click “Wizard – 1 File To 1 Table” at task dialog.

import XML data to SQL Server table - task window

Select the “XML” file type.

Import XML file data to SQL Server table - select file type

then show the wizard.

1. Open a XML file.

Support large ( > 4GB ) XML file.

Import Data From XML File To SQL Server - open XML file

Here is the file’s content.

Import Data From XML File To SQL Server - source XML file

2. Select a SQL Server table and config fields.

Load Data From XML File To SQL Server - select table

3. Preview data will be in SQL Server table.

Transfer Data From XML File To SQL Server - preview

4. Import XML data to SQL Server.

Import Data From XML File To SQL Server - import data

View imported data in SQL Server table

Convert XML to SQL Server - view data

Import XML to SQL Server in command line

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

Set scheduled tasks for importing XML to SQL Server

You can schedule and automate this “XML to SQL Server” conversion task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “XML to SQL Server” conversion.
  2. Set scheduled task for “XML to SQL Server” conversion.

FAQ


More about Withdata FileToDBXML to SQL Server converter

See Video: Import data from XML file to SQL Server table in a few clicks

See also: