Skip to content

Commit 56c4f8c

Browse files
authored
feat: add more tips (#2481)
1 parent 6773f2d commit 56c4f8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/en/guides/20-cloud/10-using-databend-cloud/01-worksheet.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Worksheets
33
---
4+
45
import DbSVG from '@site/static/img/icon/database.svg'
56
import RoleSVG from '@site/static/img/icon/role.svg'
67
import WarehouseSVG from '@site/static/img/icon/warehouse.svg'
@@ -10,7 +11,7 @@ Worksheets in Databend Cloud are used to organize, run, and save SQL statements.
1011

1112
## Creating a Worksheet
1213

13-
To create a new worksheet, click on **Worksheets** in the sidebar and select **New Worksheet**.
14+
To create a new worksheet, click on **Worksheets** in the sidebar and select **New Worksheet**.
1415

1516
If your SQL statements are already saved in an SQL file, you can also create a worksheet directly from the file. To do so, click the ellipsis icon <EllipsisSVG/> to the right of **New Worksheet**, then select **Create from SQL File**.
1617

@@ -23,15 +24,17 @@ To edit and run an SQL statement:
2324

2425
3. Edit the SQL statement in the SQL editor.
2526
4. Click on the warehouse icon <WarehouseSVG/> under the SQL editor and select a warehouse from the list.
26-
4. Click **Run Script**.
27+
5. Click **Run Script**.
2728

2829
The query result shows in the output area. You can click **Export** to save the whole result to a CSV file, or select one or multiple cells in the output area and press Command + C (on Mac) or Ctrl + C (on Windows) to copy them to your clipboard.
2930

3031
:::tip
32+
33+
- Multiple SQL statements in a single API call are not supported. Ensure that each SQL query in the worksheet ends with a single semicolon (;).
3134
- To make it easier for you to edit SQL statements, you can select a table in the database list and click the "..." button next to it. Then, follow the menu prompts to choose to copy the table name or all column names to the SQL input area on the right in one click.
3235

3336
- If you enter multiple statements in the SQL input area, Databend Cloud will only execute the statement where the cursor is located. You can move the cursor to execute other statements. Additionally, you can use keyboard shortcuts: Ctrl + Enter (Windows) or Command + Enter (Mac) to execute the current statement, and Ctrl + Shift + Enter (Windows) or Command + Shift + Enter (Mac) to execute all statements.
34-
:::
37+
:::
3538

3639
## Sharing a Worksheet
3740

0 commit comments

Comments
 (0)