Right-click the Views and select Create View. The DDL template for the view is displayed in the SQL Terminal tab.

Right-click the selected view and select Show DDL.
The DDL is displayed in a new SQL Terminal tab. You must refresh the Object Browser to view the latest DDL.
Right-click the selected view and select Export DDL.
You need to customize the export path. To compress data, select .zip

You must click I agree under Security Disclaimer, then click OK. You can disable the security disclaimer. After the disclaimer is disabled, it will not be displayed when you export the DDL. For details, see Table 1.
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 |

The status bar displays the status of the completed operation.
If the required schema contains a view with the same name as the current view, then Data Studio does not allow setting the schema for the view.
Right-click the selected View and select Properties.
The properties (General and Columns) of the selected view is displayed in different tabs.


If you modify the properties of a view that is already opened, then refresh and open the properties of the view again to check the updated information on the same opened window.

The status bar displays the status of the completed operation.
Right-click the selected view and select Drop View. The Drop View dialog box is displayed. Click Yes to delete the view.
Right-click the selected view and select Drop View Cascade.