Convert SQL Server Compact to PGSQL online

Input file

Our API accepts a single Microsoft SQL Server Compact .SDF file as input.

Max file size for web uploads: 50 GB

Output file

The API will return a ZIP archive that contains a .SQL file. This .SQL is a PostgreSQL dump file and can be restored into your PostgreSQL installation.

Conversion methods

Using our Java tool

Download the RebaseData client Java tool . To convert your database using RebaseData, run the following command:

                    java -jar client-0.0.5.jar convert --output-format=postgresql database.sdf output-dir/
                
Using CURL

Replace database.sdf with the path to the database you want to convert.
The file output.zip will contain a PostgreSQL data.sql file with your data or the error message if something went wrong.

curl -F 'files[]=@database.sdf' 'https://www.rebasedata.com/api/v1/convert?outputFormat=postgresql&errorResponse=zip' -o output.zip

How long does it take?

The conversion process takes between 15 seconds and multiple minutes. It depends on the size of the database.

Supported versions

Why use RebaseData?

Terms