Exporting Table DDL and Data
The exported table DDL and data include the following:
- DDL of the table.
- Columns and rows of the table.
Follow the steps below to export the table DDL:
- In the Object Browser pane, right-click the selected table and select Export DDL and Data.
The Data Studio Security Disclaimer dialog box is displayed.
- Click OK.
The Save As dialog box is displayed.
- In the Save As dialog box, select the location to save the DDL and click Save. The status bar displays the progress of the operation.
- To cancel the export operation, double-click the status to open the Progress View tab and click . For details, see Canceling the Table Data Export Operation.
- If the table name contains characters which are not supported by Windows, the exported file name will not be the same as table name.
- MS Visual C runtime file (msvcrt100.dll) is required to complete this operation. For details, see Troubleshooting.
The Export message and status bar display the status of the completed operation.
Database Encoding
File Encoding
Support for Exporting a DDL
UTF-8
UTF-8
Yes
GBK
Yes
LATIN1
Yes
GBK
GBK
Yes
UTF-8
Yes
LATIN1
No
LATIN1
LATIN1
Yes
GBK
No
UTF-8
Yes
You can select multiple objects from regular and partitioned tables to export DDL and data, including columns, rows, indexes, constraints, and partitions. Batch Export lists the objects whose DDL and data cannot be exported.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.