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: src/content/docs/extensions/db2i/index.mdx
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ SQL statements are executed using the active job selected in the SQL Job Manager
41
41
42
42
### SQL prefixes
43
43
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.
45
45
46
46
```sql
47
47
-- 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
79
79
80
80
## Syntax checking
81
81
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:
83
83
84
84
* as you edit an SQL file, the statement being edited will be syntax checked after a short period of time (enabled by default)
85
85
* 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
111
111
112
112
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.
113
113
114
+
<Asidetype="note">
115
+
The Schema Browser requires an active SQL Job to function.
116
+
</Aside>
117
+
114
118
### Viewing table contents
115
119
116
120
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
152
156
153
157
## Visual Explain
154
158
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.
156
160
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.
158
162
159
163

160
164
@@ -180,7 +184,7 @@ There are a few ways to create an IBM i Notebook:
180
184
181
185
### The life of a Notebook
182
186
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.
184
188
185
189
Execution is different for each language type:
186
190
@@ -267,4 +271,4 @@ limit 10
267
271
268
272
## AI Integrations
269
273
270
-
<LinkCardtitle="Db2 for i Code Assistant"href="../../ai/db2i/code-assistant/" />
274
+
<LinkCardtitle="Db2 for i Code Assistant"href="../../ai/db2i/code-assistant/" />
0 commit comments