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
Copy file name to clipboardExpand all lines: tutorials/hana-cloud-dl-clients-overview/hana-cloud-dl-clients-overview.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,8 @@ In this step, a sample HOTEL dataset will be created comprising tables, a view,
173
173
174
174
--Further privileges will be granted later to the tables, views, functions, and procedures that are created below
175
175
GRANT SET ANY CUSTOMER PUBLIC OPTION, READ FILE TO HOTEL_ADMIN, HOTEL_READER;
176
-
GRANT EXECUTE ON sp_list_directory, sp_real_list_directory TO HOTEL_ADMIN, HOTEL_READER;
176
+
GRANT EXECUTE ON sp_list_directory TO HOTEL_ADMIN, HOTEL_READER;
177
+
GRANT EXECUTE ON sp_real_list_directory TO HOTEL_ADMIN, HOTEL_READER;
177
178
178
179
GRANT ROLE HOTEL_ADMIN TO USER1;
179
180
GRANT ROLE HOTEL_READER TO USER2;
@@ -186,7 +187,7 @@ In this step, a sample HOTEL dataset will be created comprising tables, a view,
186
187
GRANT SELECT ON SCHEMA HOTEL TO HOTEL_READER;
187
188
188
189
SET SCHEMA HOTEL;
189
-
190
+
SELECT CURRENT SCHEMA;
190
191
--Create the objects in the HOTEL schema
191
192
CREATE TABLE HOTEL(
192
193
HNO INTEGER PRIMARY KEY,
@@ -530,7 +531,7 @@ The data lake client install includes [dbisql Interactive SQL Utility](https://h
530
531
531
532
Additional details on the SQL used above can be found at [INSERT Statement for Data Lake Relational Engine](https://help.sap.com/viewer/19b3964099384f178ad08f2d348232a9/latest/en-US/a61fdeff84f21015aa66b9add387d7f9.html). Moreover, the [LOAD TABLE Statement for Data Lake Relational Engine](https://help.sap.com/viewer/19b3964099384f178ad08f2d348232a9/latest/en-US/7ca3f60902f3473296cb309533d89210.html) can be used for efficient mass insertion into a database table from a file with ASCII or binary data.
532
533
533
-
>Autocommit is set to onin the SQL Console of the database explorer, while in DBISQL it is set to off. A series of insert statements will run quicker in the SQL Console if they are surrounded with beginand end or if autocommit is set to off.
534
+
>Autocommit is set to onin the SQL console of the database explorer, while in DBISQL it is set to off. A series of insert statements will run quicker in the SQL console if they are surrounded with beginand end or if autocommit is set to off.
Copy file name to clipboardExpand all lines: tutorials/hana-dbx-create-schema/hana-dbx-create-schema.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The following steps will create a sample hotel dataset using create and insert s
29
29
30
30

31
31
32
-
Notice that the user in the SQL Console is DBADMIN if using SAP HANA Cloud, or SYSTEM if using an on-premise SAP HANA database. In this step we will create a new user, USER1 that will be used throughout the rest of the tutorials in this tutorial group.
32
+
Notice that the user in the SQL console is DBADMIN if using SAP HANA Cloud, or SYSTEM if using an on-premise SAP HANA database. In this step we will create a new user, USER1 that will be used throughout the rest of the tutorials in this tutorial group.
33
33
34
34
2. Execute the below SQL.
35
35
@@ -87,11 +87,11 @@ The following steps will create a sample hotel dataset using create and insert s
87
87
88
88

89
89
90
-
Open a new SQL Console and notice that it using USER1 and the schema is HOTEL.
90
+
Open a new SQL console and notice that it using USER1 and the schema is HOTEL.
4. The following example demonstrates the privileges using the newly opened SQL Console. Notice that USER2 does not have the privilege to perform an insert.
94
+
4. The following example demonstrates the privileges using the newly opened SQL console. Notice that USER2 does not have the privilege to perform an insert.
95
95
96
96
```SQL
97
97
CREATE TABLE TEST(
@@ -131,7 +131,7 @@ The following steps will create a sample hotel dataset using create and insert s
131
131
132
132
### Create and populate tables
133
133
134
-
1. Create tables that represent a basic hotel administration system by running the SQL statements below in a SQL Console connected to USER1 in the schema of HOTEL.
134
+
1. Create tables that represent a basic hotel administration system by running the SQL statements below in a SQL console connected to USER1 in the schema of HOTEL.
135
135
136
136
```SQL
137
137
--CONNECT USER1 PASSWORD Password1;
@@ -313,7 +313,7 @@ The following steps will create a sample hotel dataset using create and insert s
313
313
314
314
Auto-commit is a setting that when enabled, causes each SQL statement to be immediately committed to the database. When auto-commit is turned off, multiple statements can be executed and then they can all be committed together, or they can all be rolled back. There are two auto-commit settings in an SAP HANA database.
315
315
316
-
The first setting which can be setin the SQL Console, applies to SQL statements that manipulate data such as insert, update, ordelete statements. These types of statements are known as Data Manipulation Language (DML). The second setting can be set via SQL applies to SQL statements that modify database schema such create table statements or alter table statements. These types of statements are known as Data Definition Language (DDL).
316
+
The first setting which can be setin the SQL console, applies to SQL statements that manipulate data such as insert, update, ordelete statements. These types of statements are known as Data Manipulation Language (DML). The second setting can be set via SQL applies to SQL statements that modify database schema such create table statements or alter table statements. These types of statements are known as Data Definition Language (DDL).
317
317
318
318
319
319
The following steps will demonstrate these settings.
@@ -335,7 +335,7 @@ The following steps will demonstrate these settings.
335
335
336
336

337
337
338
-
2. In the SQL Console, set auto-commit off.
338
+
2. In the SQL console, set auto-commit off.
339
339
340
340

341
341
@@ -356,7 +356,7 @@ The following steps will demonstrate these settings.
356
356
357
357

358
358
359
-
Until a COMMIT is executed, the table will appear to have no rows inserted when viewed from another SQL Consoleor database connection.
359
+
Until a COMMIT is executed, the table will appear to have no rows inserted when viewed from another SQL consoleor database connection.
360
360
361
361
Additional details can be found at [ROLLBACK Statement](https://help.sap.com/viewer/c1d3f60099654ecfb3fe36ac93c121bb/latest/en-US/20fcc453751910149557fc90fe781449.html) and [COMMIT Statement](https://help.sap.com/viewer/c1d3f60099654ecfb3fe36ac93c121bb/latest/en-US/20d39db97519101480e7f9b76f48c2c4.html).
362
362
@@ -377,7 +377,7 @@ The following steps will demonstrate these settings.
377
377
378
378
An error will occur and you can then decide to undo the inserted rows and the table creation by executing a `ROLLBACK;`or you have the option to keep the successfully created table and rows by executing a `COMMIT`.
379
379
380
-
Until a COMMIT is executed, the table will not appear in another SQL Consoleorin the catalog browser.
380
+
Until a COMMIT is executed, the table will not appear in another SQL consoleorin the catalog browser.
381
381
382
382
>The following query can be used to determine if AUTOCOMMIT DDL is enabled.
| Export from SQL Console| All | local computer | CSV |
44
+
| Export from SQL console| All | local computer | CSV |
45
45
|[Export data wizard](https://help.sap.com/viewer/a2cea64fa3ac4f90a52405d07600047b/cloud/en-US/97e8ec0306eb4a12a4fd72de8bdd6a62.html)| SAP HANA Cloud, HANA database | data lake Files, S3, Azure, GCS, Alibaba OSS | CSV, Parquet, JSON (for document stores) |
46
46
|[Export into statement](https://help.sap.com/viewer/c1d3f60099654ecfb3fe36ac93c121bb/latest/en-US/6a6f59bbfbb64ade84d83d7f87789753.html)| SAP HANA Cloud, HANA database | data lake Files, S3, Azure, GCS, Alibaba OSS | CSV, Parquet, JSON (for document stores) |
47
47
|[Export into statement](https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/latest/en-US/6a6f59bbfbb64ade84d83d7f87789753.html)| SAP HANA on-premise | SAP HANA file system | CSV |
@@ -58,7 +58,7 @@ Methods to import into tables
58
58
|[Import from statement](https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/latest/en-US/20f712e175191014907393741fadcb97.html)| SAP HANA on-premise | SAP HANA file system | CSV ||
59
59
|[Insert into table name select from statement](https://help.sap.com/viewer/c1d3f60099654ecfb3fe36ac93c121bb/latest/en-US/20f7f70975191014a76da70c9181720e.html)| All | local or remote tables | select statement ||
60
60
61
-
The following steps will attempt to demonstrate an export and import of data from the maintenance table using the download option from the SQL Console and the import data wizard.
61
+
The following steps will attempt to demonstrate an export and import of data from the maintenance table using the download option from the SQL console and the import data wizard.
62
62
63
63
1. Enter the SQL statement below.
64
64
@@ -315,7 +315,7 @@ The following steps walk through the process of exporting to and importing data
315
315
316
316
Once complete, a JSON file will be downloaded that contains the `client_email`and`private_key` which will be used when accessing the bucket.
317
317
318
-
8. Remove any line breaks (i.e. \n) from the private key. This can be done by pasting the private key into a new SQL Consoleand opening the search and replace menu (Ctrl-F).
318
+
8. Remove any line breaks (i.e. \n) from the private key. This can be done by pasting the private key into a new SQL consoleand opening the search and replace menu (Ctrl-F).
319
319
320
320

321
321
@@ -401,7 +401,7 @@ The following steps walk through the process of exporting to and importing data
401
401
402
402
Additional details can be found at [Certificate Management in SAP HANA Cloud](https://help.sap.com/viewer/c82f8d6a84c147f8b78bf6416dae7290/latest/en-US/1e6042c4402545f7a0574f7bc91fab25.html).
403
403
404
-
11. Run the following commands within the SQL Console to perform an export using a Google Cloud Storage bucket.
404
+
11. Run the following commands within the SQL console to perform an export using a Google Cloud Storage bucket.
405
405
406
406
There are two ways to use the export commands as shown below.
407
407
@@ -431,7 +431,7 @@ The following steps walk through the process of exporting to and importing data
431
431
```
432
432
433
433
434
-
14. Run the following commands within the SQL Console to perform an import using a Google Cloud Storage bucket.
434
+
14. Run the following commands within the SQL console to perform an import using a Google Cloud Storage bucket.
Copy file name to clipboardExpand all lines: tutorials/hana-dbx-extension/hana-dbx-extension.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ The SAP HANA database explorer extension can connect to SAP HANA Cloud and on-pr
57
57
58
58
2. Select **SAP HANA Cloud** as your database type and enter values for the **Host**, **Port**, **User** and **Password**, such as USER1 and Password1. You may also change the display name, as desired.
59
59
60
-
This tutorial uses the HOTEL schema. Set the default schema value in the **Advanced Options** as shown below. Subsequent SQL Consoles you open will now start with this schema value.
60
+
This tutorial uses the HOTEL schema. Set the default schema value in the **Advanced Options** as shown below. Subsequent SQL consoles you open will now start with this schema value.
61
61
62
62
```Advanced Options Field
63
63
currentSchema=HOTEL;
@@ -117,7 +117,7 @@ The SAP HANA database explorer extension also allows you to connect to the datab
117
117
118
118
Once logged in, you should see the database instances list from the web-based SAP HANA database explorer appear in your Database List. To open an SAP HANA SQL console in Visual Studio Code, hover over the connection and click the console icon.
119
119
120
-

120
+

121
121
122
122
To open the database in SAP HANA database explorer, click the stacked boxes icon.
123
123
@@ -162,13 +162,13 @@ Learn how to change settings and leverage features such as split editor, layout
162
162
163
163

164
164
165
-
3. Visual Studio Code also has built-in functionality that allows you to split editors which can be very useful to customize your workspace. For example, if you are working on multiple tasks, or need to refer to a table while manipulating another one, this feature can allow you to work more efficiently. In a SQL Console, run the following code.
165
+
3. Visual Studio Code also has built-in functionality that allows you to split editors which can be very useful to customize your workspace. For example, if you are working on multiple tasks, or need to refer to a table while manipulating another one, this feature can allow you to work more efficiently. In a SQL console, run the following code.
166
166
167
167
```SQL
168
168
SELECT * FROM CUSTOMER;
169
169
```
170
170
171
-
Open another SQL Console, click the split editor icon, and then drag one of the SQL Console tabs into the new space to the right.
171
+
Open another SQL console, click the split editor icon, and then drag one of the SQL console tabs into the new space to the right.
172
172
173
173

174
174
@@ -234,7 +234,7 @@ The extension also allows you to import and export SQL files to and from your co
234
234
235
235
### Run SQL code
236
236
237
-
1. Open a new SQL Console and use the newly created function with the following code. Click on the dropdown arrow beside Run to view the different Run options. Then, normally **Run** your code.
237
+
1. Open a new SQL console and use the newly created function with the following code. Click on the dropdown arrow beside Run to view the different Run options. Then, normally **Run** your code.
0 commit comments