Go to the previous topic.    Go to the next topic.

Exporting databases

When you export a database, you set options related to the export format you chose. Once you have set these options, you can select the tables you want to include and export the file.

When you export SQL, you can choose to export the structure (columns), data (records) or both. The structure options are:

And the data options are:

To export an SQL file:

LaTex, like SQL, allows you to set structure and data export options.The structure options control table captioning and key labelling; the data options include column labelling particulars and replace NULL string.

To export a LaTex file:

  1. Select the desired tables.
  2. Select LaTex from the Export box.
  3. Set the desired LaTex Options.
  4. Check the Save as file check box.
  5. Click Go.

The default values for CSV export are:
option default
Fields terminated by semicolon (;)
Fields enclosed by quotation marks (")
Fields escaped by backslashes (\)
Lines terminated by \r\n
Replace NULL by NULL
Put field names in row (checked)

To export a CSV file:

  1. Select the desired tables.
  2. Select CSV from the Export box.
  3. Set the desired CSV Options.
  4. Check the Save as file check box.
  5. Click Go.

There are only three CSV for Microsoft Excel export options: replacement string for NULL values, put field names at first row, and specify Excel platform (Windows or Macintosh).

To export a CSV for Microsoft Excel file:

  1. Select the desired tables.
  2. Select CSV for MS Excel from the Export box.
  3. Set the desired export options.
  4. Check the Save as file check box.
  5. Click Go

XML export options:

Other than the ability to select which tables to export, there are no XML options.

To export an XML file:

  1. Select the desired tables.
  2. Select XML from the Export box.
  3. Check the Save as file check box.
  4. Click Go.