You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Query Databases Using the SQL Console in SAP HANA Cloud Central
10
-
<!-- description --> Learn how the SQL console can be used within SAP HANA Cloud Central to quickly query a selected database.
9
+
# Query databases using the SQL Console in SAP HANA Cloud Central
10
+
<!-- description --> Learn how the SQL Console can be used within SAP HANA Cloud Central to quickly query a selected database.
11
11
12
12
## Prerequisites
13
13
- An SAP HANA Cloud database
14
14
- You have completed [this](hana-dbx-create-schema) tutorial which creates a database schema for an SAP HANA Cloud, SAP HANA database.
15
15
- You have completed [this](hana-cloud-dl-clients-overview) tutorial which creates a database schema for an SAP HANA Cloud, data lake Relational Engine
16
16
17
17
## You will learn
18
-
- How to open a SQL console, specify the credentials, and set the current schema
19
-
- An overview of the functionality provided in the SQL console
18
+
- How to open a SQL Console, specify the credentials, and set the current schema
19
+
- An overview of the functionality provided in the SQL Console
20
20
21
21
---
22
22
23
-
### Open a SQL console
24
-
This step demonstrates how a SQL console can quickly be opened from within SAP HANA Cloud Central and how to change the SQL console's credentials and schema.
23
+
### Open a SQL Console
24
+
This step demonstrates how a SQL Console can quickly be opened from within SAP HANA Cloud Central and how to change the SQL Console's credentials and schema.
25
25
26
-
1. In **SAP HANA Cloud Central**, open a SQL console by selecting **SQL Console** in the left pane. Notice that the SQL console is not associated with a database when opened in this way.
26
+
1. In **SAP HANA Cloud Central**, open a SQL Console by selecting **SQL Console** in the left pane. Notice that the SQL Console is not associated with a database when opened in this way.
27
27
28
-

28
+

29
29
30
-
>Additional SQL consoles can also be opened by selecting the **+** icon.
30
+
>Additional SQL Consoles can also be opened by selecting the **+** icon.
31
31
32
32
2. This time select **Instances**, select a database, and choose **Open SQL Console** from the actions menu.
33
33
34
-

34
+

35
35
36
36
Notice that it is now connected to the instance named `HC_HDB`.
37
37
38
-

38
+

39
39
40
40
>The currently connected user can be seen by executing the SQL statement below.
41
41
@@ -80,7 +80,7 @@ This step demonstrates how a SQL console can quickly be opened from within SAP H
80
80
81
81
82
82
### Execute SQL
83
-
This step demonstrates how to execute a SQL query and view query results, messages, and history within a SQL console.
83
+
This step demonstrates how to execute a SQL query and view query results, messages, and history within a SQL Console.
84
84
85
85
1. Execute the following SQL statements.
86
86
@@ -110,16 +110,16 @@ This step demonstrates how to execute a SQL query and view query results, messag
110
110
111
111

112
112
113
-
Notice that the statements can be located using a search and that a selected item can be inserted back into the SQL consoleor copied.
113
+
Notice that the statements can be located using a search and that a selected item can be inserted back into the SQL Consoleor copied.
114
114
115
115
>The history is not persisted across browser reloads.
116
116
117
117
### A few things to note
118
-
The SQL console within SAP HANA Cloud Central appears similar to the one within the SAP HANA database explorer but there are some differences.
118
+
The SQL Console within SAP HANA Cloud Central appears similar to the one within the SAP HANA database explorer but there are some differences.
119
119
120
-
* Opening the SQL console within the SAP HANA Cloud Central can be done much quicker than opening the full SAP HANA database explorer.
120
+
* Opening the SQL Console within the SAP HANA Cloud Central can be done much quicker than opening the full SAP HANA database explorer.
121
121
122
-
* The SQL console that you access from within SAP HANA Cloud Central can only connect to databases that are within the same BTP subaccount as SAP HANA Cloud Central.
122
+
* The SQL Console that you access from within SAP HANA Cloud Central can only connect to databases that are within the same BTP subaccount as SAP HANA Cloud Central.
123
123
124
124
* The SAP HANA database explorer has some additional functionality
125
125
@@ -134,8 +134,8 @@ The SQL console within SAP HANA Cloud Central appears similar to the one within
134
134
* Ability to run statements against multiple instances
135
135
* Generate SQL Analyzer file or explain plan
136
136
* Statement library
137
-
* SQL console settings
137
+
* SQL Console settings
138
138
139
139
### Knowledge check
140
140
141
-
Congratulations! You have now used the SQL consolein SAP HANA Cloud Central and have become familiar with some of the features it provides.
141
+
Congratulations! You have now used the SQL Consolein SAP HANA Cloud Central and have become familiar with some of the features it provides.
0 commit comments