Learn more about Toad for SQL Server Find solutions and downloads at the |
Toad for SQL Server 6.6 |
The Export wizard provides a single interface to select file formats when exporting tables and views, as well as their dependent objects or databases. This wizard is useful if you need to export the data you are working on to a database neutral format such as SQL statements, an Excel file, or a CSV file.
If you export multiple objects to Excel, Toad exports them to a single Excel file and each object displays on its own worksheet. You can also append objects to an existing file when you export to Excel.
Note: Before you can export to Excel, the Primary Interop Assemblies (PIAs) for your version of Excel must be installed. If a required component is not installed, you are prompted to download it.
Consideration/ Limitation |
Description |
---|---|
International characters | When exporting data that contains international characters, make certain that your default character set is UTF-8. In the Export wizard,you must also select Unicode in the File encoding field on the Select Output Options page. |
Fractional seconds |
Consider the following limitations when exporting fractional seconds:
|
Binary data types |
Binary data types |
DateTimeOffset data types | DateTimeOffset data types are exported as strings instead of DateTime to avoid losing time zone information. |
HIERARCHYID, GEOMETRY, GEOGRAPHY data types | HIERARCHYID, GEOMETRY, and GEOGRAPHY data types are exported as strings. |
SharePoint® | Toad supports SharePoint 2010 or later. |
To export data
Select Tools | Export | Export Wizard.
Tip: To export a single object, right-click the data and select Export Wizard or Send To | Export Wizard. The wizard opens on the Select Output Format page.
Complete the wizard. Review the following for additional information:
Select Objects Page | Description |
Export Object |
Select Add to include objects in the export. Note: After object selection and fulfilling next steps (see below), you will be back to this page and may select Add again to include objects of another type to the same export. |
Select Objects |
Select one of the following object types in the export:
|
Select Output Format Page | Description |
Output format |
Create as New Table—In addition to the standard output formats, you can select the Create As New Table option as an easy way to create and insert new data. Note: If you select the Create As New Table option, review the following:
SharePoint List—Select this option to update an existing SharePoint list or to create a new list. You must have a SharePoint URL defined in Tools | Options | Environment | SharePoint. Note: If you select the SharePoint List option to export a list that exceeds 5000 rows and you also select Recreate if exists, you will encounter an error message on export. This is because SharePoint enforces a list view threshold of 5000 rows. |
Check system resources |
Select this checkbox to display a warning message if you do not have enough memory or disk space to export the data. |
Select Columns Page | Description |
Select the columns to include in the export.
|
|
Select Output Options Page | Description |
Add Date/Time suffix to filename |
Select to append a suffix to the file name. If you select this option, Toad always creates a new file even if you select to append it to an existing file. |
Select Excel Output Options Page | Description |
Worksheet name |
Enter the name of the worksheet. This field is only available if you are exporting a single object. If you leave this field blank or are exporting multiple objects, the worksheet name defaults to the name of the object. If you are exporting using multiple queries, each query exports to a separate worksheet (Sheet 1, Sheet 2, etc.). |
Clear worksheet data before exporting |
Select to clear the entire worksheet before exporting data. If you do not select this option, the worksheet contents outside the range of exported data are not cleared. |
Start export at |
Enter the column and row position to begin the export. Note: If you are exporting a single object to an existing worksheet, Toad exports the object to the selected column and row position. If you are exporting multiple objects, Toad exports each object to a new worksheet and the data starts at the selected column and row position. |
Append rows |
Select to append exported data to existing data on the worksheet with each execution of the Export Wizard template. |
Add Date/Time suffix to filename |
Select to append a suffix to the file name. If you select this option, Toad always creates a new file even if you select to append it to an existing file. |
Save Settings as Template Page | Description |
Save template |
Select this checkbox and specify a file name so you can use this against a similar database or in an automation script. See Use Import and Export Templates for more information. |
Tips:
Export Data with One Click Export