Merge multiple SQL files into one Fixed-Width Text

Withdata DataFileConverter merges SQL files into one fixedwidth file locally — any number of files, mapped column by column, with the output options of your choice. 100% local, secure, and cross-platform.

Download Free Trial


Why Choose Withdata DataFileConverter as a SQL Merger?

🔒 100% Local & Secure

All merging runs on your own computer. Nothing is uploaded to any cloud server.

⚡ Fast Streaming Merge

Millions of rows within a minute. Large files are streamed with low memory usage.

📁 Any Number of Files

Add two files or a whole folder, then combine everything into a single Fixed-Width Text file.

🔄 Column Mapping

Files with a different column order or extra columns can be mapped to the output columns before merging.

🖥 Windows, macOS, Linux

Native builds for Windows, macOS and Linux, with a step-by-step GUI wizard and a command line interface.

⏱ CLI & Scheduled Tasks

Save a merge session and run it automatically from Windows Task Scheduler or crontab.

Full Feature Comparison

FeatureSupported details
InputAny number of SQL files, added one by one or as a folder
Output formatFixed-width text with auto-detected or custom column widths
Merge modeAll input rows into one output file
Running modeGUI wizard · command line · scheduled tasks
Column handlingSource columns are mapped to the output columns
Output optionsColumn widths (auto-detected or manual), header row, encoding
PlatformWindows, macOS, Linux (native, 64-bit)

SQL to Fixed-Width Text — What Changes

Table rows are written without delimiters, one fixed-width line per row. The column order follows the CREATE statement and the widths come from the merged values.

All SQL Merge Options You Need

Same source format, other targets

This page merges SQL into another format. If you need a different output, these pages each do that one job:

All merge tools, by format

Merging into Fixed-Width Text — Notes

How to Merge SQL Files (4 Steps)

  1. Open Withdata DataFileConverter and choose Merge (combine multiple files into one).
  2. Add the SQL files you want to merge — two files, a list, or a whole folder.
  3. Check the preview and map the source columns to the output columns; then set the output options (Column widths (auto-detected or manual), header row, encoding).
  4. Click Convert — the single Fixed-Width Text file is written in seconds. Save the session if you want to run it again from the command line.

Merge multiple SQL files into one Fixed-Width Text file in GUI

In GUI mode the merge is a step-by-step wizard: add the files, check the preview, map the columns, choose the Fixed-Width Text output options, and click Convert. See Withdata DataFileConverter.

Merge multiple SQL files into one Fixed-Width Text file in Command Line

After merging SQL files in GUI, and saving the merge session, you can run it from the command line:

Set scheduled tasks for merging SQL

After merging SQL files in the command line, you can schedule and automate the merge:

  1. Save the session and create a .bat (Windows) or .sh (Linux/macOS) file for the merge.
  2. Set a scheduled task: on Linux/macOS use crontab; on Windows use the Task Scheduler.

FAQ

How fast is the SQL merge?

Is my data safe during the merge?

Does it work on Linux and macOS?

Do the source files have to have the same structure?

Can I merge more than two files?

Can I automate the merge from the command line?

How are the merged fixed-width column widths decided?

Do the input files have to use the same column widths?


Start Merging SQL Files Today

Download Withdata DataFileConverter for a free trial. Runs on Windows, macOS and Linux.

Download Now