Introduction


We are using Full Convert Enterprise to convert

CSV to SQLCE.


Full Convert Enterprise is a very powerful database converter.

It is extremely easy to use, yet provides terrific customizations when you need them.

About CSV

A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form.

About SQLCE

Microsoft SQL Server Compact (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops. Prior to the introduction of the desktop platform, it was known as SQL Server for Windows CE and SQL Server Mobile Edition.

Conversion process

Full Convert Enterprise provides easy-to-use wizard which will help you convert your data as quickly as possible.

These are all the steps you need:

  • Select source database.
  • Select target database.
  • Optionally choose which tables to convert. By default all tables are selected.
  • Convert!

First look at Full Convert


Launch the application, you'll see that only relevant actions are visible on the ribbon bar.

In the center of the application, we are showing welcome dialog with links to actions done most often on application start.


Click on the Create New Conversion button.

Database conversion wizard

Wizard guides you through conversion process quickly and easily.

Connection to source CSV database

Initial screen shows you that Full Convert will automatically detect your database if you don't know which one do you have. Of course, if you do know your database, do select it from the list on the left.

  • We will choose Text from the list of available source database formats and fill in connection properties. You can simply click ellipsis (...) button to select the folder containing your delimited text files. You can also specify the file filter if you wish. By default, we include CSV, TXT, and TSV files.
  • Default delimiter is Comma (use it if you have comma-delimited files), but you can change it to Tab (for tab-delimited files), or any other character.

Click on the Next button.

Source database connection

Connection to target SQLCE database

List on the left shows all the databases which can be filled with your source database data. Select the one you need and fill-in required parameters.

  • From the list of available target database engines, we'll choose SQL Server Compact Edition.
  • Connecting to SQL CE database is straightforward - we need to type-in or navigate to the database file (SQLCE databases are stored in SDF files) and specify our password, if the database is protected.

Click on the Next button.

Target database connection

Table selection

We will select all source tables for conversion by default. In case you only need some tables, simply deselect the ones you don't need - or deselect all, then select just the tables you do need.


Click on the Next button.

Table selection

Review

Here you can see how many tables will be converted. To start conversion right away, click on the Convert! button. To show contents of target database without converting, click on the Explore button. Use that to inspect target database prior to conversion, or to save the conversion project for later before even converting the first time.


Click on the Convert! button.

Conversion project summary

Conversion progress

Conversion is highly-optimized to run as fast as possible, yet provides top-notch reliability. Huge tables are converted in small chunks at a time, preserving memory and ensuring that your computer stays fast and responsive.


Here is what Full Convert does while you sit and watch:

  • Running your custom pre-conversion SQL scripts, if any
  • Creating all selected tables in your target database
  • Copying data
  • Applying indexes
  • Applying foreign key constraints
  • Running your custom post-conversion SQL scripts, if any

CSV to SQLCE conversion summary

Here you will see basic conversion statistics, such as number of tables and records copied to target database.


If there were any warnings or errors during conversion, you will be able to examine them in detail.

Finally, complete SQL log is available for you if you need it. This feature can be enabled in options dialog.

Conclusion

This small tutorial shows how easy it is to convert CSV to SQLCE using Full Convert Enterprise.


If you like what you see, please purchase Full Convert at our site. Delivery is instant via email, and with 30 day money-back guarantee there is no risk in purchasing.

Also, if you want to make sure our applications fits your needs before buying, you can download free trial version.