forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
36 lines
7.9 KiB
HTML
36 lines
7.9 KiB
HTML
<a name="EN-US_TOPIC_0000001860318913"></a><a name="EN-US_TOPIC_0000001860318913"></a>
|
|
|
|
<h1 class="topictitle1">Exporting Query Results</h1>
|
|
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p46158236">You can export the results of an SQL query into a CSV, Text or Binary file.</p>
|
|
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p12770940">This section contains the following topics:</p>
|
|
<ul id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul1148072013358"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li1448022017354"><a href="#EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115">Exporting all data</a></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li45052783510"><a href="#EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218">Exporting Data On the Current Page</a></li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115"><a name="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115"></a><a name="en-us_topic_0185264341_section449445904115"></a><h4 class="sectiontitle">Exporting all data</h4><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p32083483">The following functions are disabled while the export operation is in progress:</p>
|
|
<ul class="subitemlist" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul20315896"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li48625339">Executing SQL queries in the <strong id="EN-US_TOPIC_0000001860318913__b9555171251114">SQL Terminal</strong></li></ul>
|
|
<ul id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul46338367"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li14392122">Executing PL/SQL statements</li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li63595775113352">Debugging PL/SQL statements</li></ul>
|
|
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p22874645">Follow the steps below to export all results:</p>
|
|
<ol id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ol4545214"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link6"><span>Select the <strong id="EN-US_TOPIC_0000001860318913__b1140420193165">Result</strong> tab.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link7"><span>Click <span><img id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_image18812163310101" src="figure/en-us_image_0000001813439432.jpg"></span>. The <strong id="EN-US_TOPIC_0000001860318913__b919982313402">Export ResultSet Data</strong> window appears.</span><p><div class="p" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p1551204102419">Refer to <a href="DWS_DS_98.html#EN-US_TOPIC_0000001860318649__section32742219385">Exporting Table Data</a> to complete the export operation.<div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note3983054182214"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p79821954152214">You can check the status bar to view the status of the result being exported.</p>
|
|
</div></div>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p2926649112616">The <strong id="EN-US_TOPIC_0000001860318913__b1570964831710">Data Exported Successfully</strong> dialog box is displayed.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li65538407113555"><span>Click <strong id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_b359512119458">OK</strong>. Data Studio displays the status of the operation in the <strong id="EN-US_TOPIC_0000001860318913__b09737515182">Messages</strong> tab.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note34711916262"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p35781442202710">If the disk is full while exporting the results, then Data Studio displays an error in the Messages tab. In this case, clear the disk, re-establish the connection and export the result data.</p>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p48598040">The Messages tab shows the <strong id="EN-US_TOPIC_0000001860318913__b161975302020">Execution Time</strong>, <strong id="EN-US_TOPIC_0000001860318913__b5334172132117">Total Result Records Fetched</strong>, and the path where the file is saved.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218"><a name="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218"></a><a name="en-us_topic_0185264341_section1056892694218"></a><h4 class="sectiontitle">Exporting Data On the Current Page</h4><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p23537029">It is recommended to export all results instead of exporting the current page. The <strong id="EN-US_TOPIC_0000001860318913__b156651136192216">Export Current Page to CSV</strong> function has been deleted.</p>
|
|
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p10506676">Follow the steps below to export the current page:</p>
|
|
<ol id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ol27451222"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li45734414"><span>Select the <strong id="EN-US_TOPIC_0000001860318913__b1517664122410">Result</strong> tab.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link10"><span>Click the <span><img id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_image1080513479108" src="figure/en-us_image_0000001860199293.jpg"></span> icon to export the current page.</span><p><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p1149657649">The <strong id="EN-US_TOPIC_0000001860318913__b121029114393445">Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li29619832"><span>Click <strong id="EN-US_TOPIC_0000001860318913__b956864612413">OK</strong>.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li55558125"><span>Select the location to save the current page.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note35228179"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p48618163">You can check the status bar to view the status of the page being exported.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li34910290"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001860318913__uicontrol154079714093445"><b>Save</b></span>. The <strong id="EN-US_TOPIC_0000001860318913__b1348115396307">Data Exported Successfully</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li15427143114435"><span>Click <strong id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_b74557482469">OK</strong>. Data Studio displays the status of the operation in the <strong id="EN-US_TOPIC_0000001860318913__b576675319">Messages</strong> tab.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note156495718451"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p7651057204519">If the disk is full while exporting the results, then Data Studio displays an error in the Messages tab. In this case, clear the disk, re-establish the connection and export the result data.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
|
|
</div>
|
|
</div>
|
|
|