From f984917df94381fb6b8f44547da02857e2520afc Mon Sep 17 00:00:00 2001 From: Scott Forstie Date: Wed, 26 Jun 2024 13:22:34 -0500 Subject: [PATCH] Update index.mdx edits --- src/content/docs/workshop/db2i/index.mdx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/content/docs/workshop/db2i/index.mdx b/src/content/docs/workshop/db2i/index.mdx index 83aae90..77bcf48 100644 --- a/src/content/docs/workshop/db2i/index.mdx +++ b/src/content/docs/workshop/db2i/index.mdx @@ -7,10 +7,10 @@ import { Aside, CardGrid, Card } from '@astrojs/starlight/components'; ## Outline -* requirements +* Requirements: * Connecting to a system * Using the job manager -* Executing statements - running statements regularly, running in a view, statement history, cancelling a statement, dealing with host variables, commitment control UI +* Executing statements - running statements regularly, running in a view, statement history, canceling a statement, dealing with host variables, commitment control UI * Writing SQL - content assist for schemas, table columns, signature info for functions/procedures * Exporting data - cover the different types of export modes * Schema browser - adding/removing entries, browsing schemas, viewing different object types, generating SQL, right click options @@ -81,9 +81,9 @@ There are three areas that should be known when using the database extension in -The job manager is used to maintain different jobs, all which can be used to execute different SQL statements. You can spin up a new job by clicking the ⛁ (database) icon. Notice that the current job (in the screenshot) has the icon highlighted green. The highlighted job indicates the job that is going to be used when running SQL statements in VS Code. We call this the 'selected job'. +The job manager is used to maintain different jobs, all of which can be used to execute different SQL statements. You can spin up a new job by clicking the ⛁ (database) icon. Notice that the current job (in the screenshot) has the icon highlighted green. The highlighted job indicates the job that is going to be used when running SQL statements in VS Code. We call this the 'selected job'. -Each job has a set of icons when hovering over the item. Each job has unique JDBC settings, all which can be edited by clicking on the ✎ (pencil) icon. You can also see the job log of a job by selecting on the ℹ (info) button. +Each job has a set of icons when hovering over the item. Each job has unique JDBC settings, all of which can be edited by clicking on the ✎ (pencil) icon. You can also see the job log of a job by selecting on the ℹ (info) button. There are also additional buttons to open new SQL documents and notebooks. @@ -229,7 +229,7 @@ When executing a statement, the play button will turn into a ⓧ (cancel) button Try executing this statement, then use the ⓧ (cancel) button to stop it: ```sql -select count(*) from qsys2.syscolumns a, qsys2.syscolumns b where 1=1 +select count(*) from qsys2.syscolumns2 a, qsys2.syscolumns2 b where 1=1 ``` @@ -243,7 +243,7 @@ select count(*) from qsys2.syscolumns a, qsys2.syscolumns b where 1=1 -Every time you execute a statement, then the statement will be prepended to the statement history so it can be accessed again quickly in the future. Statements in history are grouped by time period; last day, last week, last month, etc. Hovering over an entry will show it and clicking on it will open it into a brand new document. Single items can be cleared from history, and the entire history can also be cleared. +Every time you execute a statement, the statement will be prepended to the statement history so it can be accessed again quickly in the future. Statements in history are grouped by time period; last day, last week, last month, etc. Hovering over an entry will show it and clicking on it will open it into a brand new document. Single items can be cleared from history, and the entire history can also be cleared. @@ -282,7 +282,7 @@ Triggering the content assist refers to the keyboard shortcut to make the conten By default, when you trigger the content assist, VS Code will show available SQL functions as snippets. -Selecting the item from the list will insert it at the cursors location and, if available, show the required parameters. +Selecting the item from the list will insert it at the cursor location and, if available, show the required parameters. @@ -327,7 +327,7 @@ If you enter a dot (`.`) after a schema, it will show available objects in the s When you reference tables, views, table functions, etc, then you will also have access to the columns of those objects in the content assist.