Skip to content

Commit c297624

Browse files
committed
Merge branch 'main' of github.com:halcyon-tech/docs
2 parents ce3473c + 070cfa6 commit c297624

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/content/docs/extensions/db2i/index.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SQL statements are executed using the active job selected in the SQL Job Manager
4141

4242
### SQL prefixes
4343

44-
Newer version of SQL provided by Db2 for i allows you to run CL commands in a script. There are also `json`, `csv`, `sql` and `rpg` prefixes, which will open the result set in the chosen format.
44+
SQL provided by Db2 for i allows you to run CL commands in a script. Additionally there are `json`, `csv`, `sql` and `rpg` prefixes, which will open the result set in the chosen format.
4545

4646
```sql
4747
-- result set as normal table
@@ -79,7 +79,7 @@ Enter the value `null` to set a column to *null*. If the column cannot accept at
7979

8080
## Syntax checking
8181

82-
When connected to an IBM i, should be enabled. Here is what triggers to syntax checker:
82+
When connected to an IBM i, the syntax checker has the following options:
8383

8484
* as you edit an SQL file, the statement being edited will be syntax checked after a short period of time (enabled by default)
8585
* when you open an SQL file, the entire document will be checked (disabled by default and has a limit of 200 statements in the document)
@@ -111,6 +111,10 @@ You are able to right-click on any job to save those job settings, allowing it t
111111

112112
The Db2 for i extension adds a view called Schema Browser which allows the user to add existing schemas to the list and will allow them to browse existing database objects. You can right-click on SQL objects to show more actions. Each SQL object type may have unique actions.
113113

114+
<Aside type="note">
115+
The Schema Browser requires an active SQL Job to function.
116+
</Aside>
117+
114118
### Viewing table contents
115119

116120
If you are using the Schema Browser to browse objects, you are able to use the 'View contents' icon when hovering over a table, view, or alias to cause a basic SQL select statement to be generated and executed.
@@ -152,9 +156,9 @@ We added the option for users to configure `Auto Refresh` on the SELF view. When
152156

153157
## Visual Explain
154158

155-
We have added Visual Explain into the database extension with a more lightweight approach of explain data. The typically run button on the document now has options to either run, run and explain or explain without running, which will show the explain nodes and node details in the same result set view.
159+
We have added Visual Explain into the database extension with a more lightweight approach of explain data. The typical run button on the document now has options to either run, run and explain or explain without running, which will show the explain nodes and node details in the same result set view.
156160

157-
The Visual Explain view has button on the header to control which nodes should be highlights, as well as the ability to export the data as JSON, and more.
161+
The Visual Explain view has a button on the header to control which nodes should be highlights, as well as the ability to export the data as JSON, and more.
158162

159163
![](./images/dove.png)
160164

@@ -180,7 +184,7 @@ There are a few ways to create an IBM i Notebook:
180184

181185
### The life of a Notebook
182186

183-
A notebook is made up of cells. A cell is asscociated with a language (for example, `sql`, `cl`, or `markdown`). Cells (other than `markdown`) can be executed. Each cell has a result and typically gets rendered below the cell input after execution.
187+
A notebook is made up of cells. A cell is associated with a language (for example, `sql`, `cl`, or `markdown`). Cells (other than `markdown`) can be executed. Each cell has a result and typically gets rendered below the cell input after execution.
184188

185189
Execution is different for each language type:
186190

@@ -267,4 +271,4 @@ limit 10
267271

268272
## AI Integrations
269273

270-
<LinkCard title="Db2 for i Code Assistant" href="../../ai/db2i/code-assistant/" />
274+
<LinkCard title="Db2 for i Code Assistant" href="../../ai/db2i/code-assistant/" />

0 commit comments

Comments
 (0)