doc-exports/docs/dws/tool/DWS_DS_41.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

26 lines
6.2 KiB
HTML

<a name="EN-US_TOPIC_0000001233922161"></a><a name="EN-US_TOPIC_0000001233922161"></a>
<h1 class="topictitle1">Creating a Database</h1>
<div id="body32001227"><p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p8730397">A relational database is a database that has a set of tables which is manipulated in accordance with the relational model of data. It contains a set of data objects used to store, manage, and access data. Examples of such data objects are tables, views, indexes, functions and so on.</p>
<p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p11464716">Follow the steps below to create a database:</p>
<ol id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_ol43338546191357"><li id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li54502602191357"><span>In the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b178877177">Object Browser</strong> pane, right-click the selected <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b1681971176">Databases</strong> group and select <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b9837121718">Create Database</strong>.</span><p><div class="note" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_note106562124175"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p9656111241713">This operation can be performed only when there is at least one active database.</p>
</div></div>
<p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p62410194171">A <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b28398833195021">Create Database</strong> dialog box is displayed prompting you to provide the necessary information to create the database.</p>
</p></li><li class="litext" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li6623474219146"><span>Enter the database name. Refer to the server manual for database naming rules.</span></li><li class="litext" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li2076769619154"><span>Select the required type of encoding character set from the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b3530573211433">Database Encoding </strong>drop-down list.</span><p><p class="litext" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p22256459211434">The database supports <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b63096713211419">UTF-8</strong>, <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b10560162211419">GBK</strong>, <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b367632355510">SQL_ASCII</strong>, and <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b50066799211419">LATIN1</strong> types of encoding character sets. Creating the database with other encoding character sets may result in erroneous operations.</p>
</p></li><li class="litext" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li4970961191557"><span>Select the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b30213791163450">Connect to the DB</strong> check box and click <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b3488670163450">OK</strong>.</span><p><p class="litext" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p13349141812537">The status bar displays the status of the completed operation.</p>
<p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p1442101710539">You can view the created database in the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b9421917205317">Object Browser</strong>. The system related schema present in the server is automatically added to the new database.</p>
<div class="note" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_note94211178533"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p866115015277">Data Studio allows you to login even if the password has expired with a message informing that some operations may not work as expected when no other database is connected in that connection profile. Refer to <a href="DWS_DS_142.html#EN-US_TOPIC_0000001234042179__en-us_topic_0185264975_section56881736153111">Password Expiry</a> for information to change this behavior.</p>
</div></div>
</p></li></ol>
<div class="section" id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_section143932723614"><a name="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_section143932723614"></a><a name="en-us_topic_0185264253_section143932723614"></a><h4 class="sectiontitle">Cancelling Connection</h4><p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p41832502123716">Follow the steps below to cancel the connection operation:</p>
<ol id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_ol166892424"><li id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li16615944213"><span>Double-click the status bar to open the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b28152800152535">Progress View</strong> tab.</span></li><li id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li4580236185217"><span>In the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b886759112414">Progress View</strong> tab, click <span><img id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_image1269945912414" src="figure/en-us_image_0000001188362858.jpg"></span>.</span></li><li id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_li1647182561615"><span>In the <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b1646527412427">Cancel Operation</strong> dialog box, click <strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b12334590124138">Yes</strong>.</span><p><p id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_p51654681250"><strong id="EN-US_TOPIC_0000001233922161__en-us_topic_0185264253_b2073604920585"></strong>The status bar displays the status of the cancelled operation.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_40.html">Databases</a></div>
</div>
</div>