Files
doc-exports/docs/dws/tool/DWS_DS_52.html
Lu, Huayi 4194b50d78 DWS TOOL 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2022-12-14 20:46:26 +00:00

92 lines
11 KiB
HTML

<a name="EN-US_TOPIC_0000001099153142"></a><a name="EN-US_TOPIC_0000001099153142"></a>
<h1 class="topictitle1">Exporting Schema DDL and Data</h1>
<div id="body1584524312099"><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p55546680">The exported schema DDL and data include the following:</p>
<ul id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_ul30158076"><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li46670388">DDL of functions/procedures</li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li17380313">DDL and data of tables</li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li22205089">DDL of views</li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li975011242174">DDL of sequences</li></ul>
<p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p2987236">Perform the following steps to export the schema DDL and data:</p>
<ol id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_ol26885128"><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li65628079"><span>In the <strong id="EN-US_TOPIC_0000001099153142__b169601817653">Object Browser</strong> pane, right-click the selected schema and select <strong id="EN-US_TOPIC_0000001099153142__b2960181720512">Export DDL and Data</strong>.</span><p><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p45295318191715">The <strong id="EN-US_TOPIC_0000001099153142__b197035216195812">Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
<p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p559426">You can close the dialog box. For details, see <a href="DWS_DS_142.html#EN-US_TOPIC_0000001098673336__en-us_topic_0185264975_section8272203611226">Security Disclaimer</a>.</p>
</p></li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li55973123"><span>Click <strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b48966358133148">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p26160053193224">The <strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b188611763321">Save As</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li63813623193031"><span>In the <strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b30730045221922">Save As</strong> dialog box, select the location to save the DDL and data and click <strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b8134957221922">Save</strong>. The status bar displays the operation progress.</span><p><div class="note" id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_note34475701193143"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_ul42724234815"><li class="text" id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li8259143214812">To cancel the export operation, double-click the status bar to open the <strong id="EN-US_TOPIC_0000001099153142__b5510741114215">Progress View</strong> tab and click <span><img id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_image1525943234812" width="17.955000000000002" height="16.9575" src="figure/en-us_image_0000001099153240.jpg" title="Click to enlarge" class="imgResize"></span>. For details, see <a href="DWS_DS_98.html#EN-US_TOPIC_0000001098673338__en-us_topic_0185264892_ref471314989">Canceling Table Data Export</a>.</li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li9982918172613">If the file name contains characters that are not supported by Windows, the file name will be different from the schema name.</li><li id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_li17561433124816">The Microsoft Visual C Runtime file (<strong id="EN-US_TOPIC_0000001099153142__b55401096295812">msvcrt100.dll</strong>) is required for this operation. For details, see <a href="DWS_DS_145.html">Troubleshooting</a>.</li></ul>
</div></div>
<p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p8310394193143">The <strong id="EN-US_TOPIC_0000001099153142__b588521851">Data Exported Successfully</strong> dialog box and status bar display the status of the completed operation.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_table20789124652911" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row485915510434"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.2.3.1.4.1.1"><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p18658615191019"><strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b132743716567">Database Encoding</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.2.3.1.4.1.2"><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p13658131510105"><strong id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_b53281237155614">File Encoding</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.2.3.1.4.1.3"><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p1765821511101"><strong id="EN-US_TOPIC_0000001099153142__b95414031895813">Support for Exporting DDL</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row1465193611592"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p11711124110594">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p6562114412591">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p946516361597">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row6450163418591"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p15452183425919">GBK</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p94521734115915">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row12402232195917"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p19402632145916">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p840219321599">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row108601655164315"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p1786055514318">GBK</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p1786035594320">GBK</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p286045515433">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row166304144010"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p56301514407">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p126309145015">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row205945171408"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p9594317608">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p5594117608">No</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row1125843617458"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p11259163610455">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p172591836204513">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p12591636124510">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row1637216452013"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p5372545915">GBK</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p13721745310">No</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_row678318471115"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p1278394715113">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p1578310471818">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_note18187135118489"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001099153142__en-us_topic_0185264028_p14188151194815">You can select multiple objects and export their DDL and data. <a href="DWS_DS_155.html#EN-US_TOPIC_0000001098993156__en-us_topic_0185264547_li1037472864716">Batch Export</a> lists the objects whose DDL and data cannot be exported.</p>
</div></div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_48.html">Schemas</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>