summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2022-05-13 20:35:42 -0300
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-05-14 15:45:24 +0200
commita6b0ba3babd4f6ed7aa55d9ccd85361970857977 (patch)
tree25dac82195f966df5bd65fc0e651aa370a9d416d
parentd9880014fd80f412d10b2f7536c45941552c4760 (diff)
tdf#149086 Fix Help page for Direct SQL command
Add target bookmark Update page content with latest UI enhancements Change-Id: I88ec6bf787d7e4bb5df24b8e1652e5f176afdbf9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134296 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--source/text/sdatabase/11080000.xhp36
1 files changed, 27 insertions, 9 deletions
diff --git a/source/text/sdatabase/11080000.xhp b/source/text/sdatabase/11080000.xhp
index c61aebd199..8089a4990c 100644
--- a/source/text/sdatabase/11080000.xhp
+++ b/source/text/sdatabase/11080000.xhp
@@ -24,9 +24,13 @@
</topic>
</meta>
<body>
-<bookmark xml-lang="en-US" branch="index" id="bm_id3148983"><bookmark_value>SQL; executing SQL statements (Base)</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148983">
+<bookmark_value>SQL; executing SQL statements (Base)</bookmark_value>
<bookmark_value>databases; administration through SQL (Base)</bookmark_value>
-</bookmark><bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/DirectSQLDialog" id="bm_id3150773" localize="false"/><paragraph role="paragraph" id="par_id3148983" xml-lang="en-US" localize="false"/>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/DirectSQLDialog" id="bm_id3150773" localize="false"/><paragraph role="paragraph" id="par_id3148983" xml-lang="en-US" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/@@nowidget@@" id="bm_id3150773" localize="false"/>
+
<h1 id="hd_id3153345"><link href="text/sdatabase/11080000.xhp" name="Execute SQL statement">Execute SQL statement</link></h1>
<paragraph role="paragraph" id="par_id3154288" xml-lang="en-US"><variable id="sqltext"><ahelp hid=".">Opens a dialog where you can enter an SQL command for administering a database.</ahelp>
</variable></paragraph>
@@ -36,17 +40,31 @@
<embed href="text/shared/guide/data_enter_sql.xhp#data_enter_sql"/>
<paragraph role="paragraph" id="par_id3147275" xml-lang="en-US">You can only enter administration commands in this dialog, such as Grant, Create Table, or Drop Table, and not filter commands. The commands that you can enter depend on the data source, for example, dBASE can only run some of the SQL commands list here.</paragraph>
<note id="par_id3154860">To run an SQL query for filtering data in the database, use the <link href="text/sdatabase/02010100.xhp" name="Query Design">Query Design View</link>.</note>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sql" id="bm_id3150772" localize="false"/><h2 id="hd_id3149514">Command to execute</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sql" id="bm_id3150772" localize="false"/>
+<h2 id="hd_id3149514">Command to execute</h2>
<paragraph role="paragraph" id="par_id3147618" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/sql">Enter the SQL administration command that you want to run.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3153087" xml-lang="en-US">For example, for a "Bibliography" data source, you can enter the following SQL command:</paragraph>
<paragraph role="paragraph" id="par_id3145673" xml-lang="en-US">SELECT "Address" FROM "biblio" "biblio"</paragraph>
<paragraph role="paragraph" id="par_id3145611" xml-lang="en-US">For more information on SQL commands, please consult the documentation that came with the database.</paragraph>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sqlhistory" id="bm_id3154923" localize="false"/><h2 id="hd_id3156024">Previous commands</h2>
-<paragraph role="paragraph" id="par_id3149045" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/sqlhistory">Lists the previously executed SQL commands. To run a command again, click the command, and then click <emph>Run</emph>.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/status" id="bm_id3161656" localize="false"/><h2 id="hd_id3154348">Status</h2>
-<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/status">Displays the results, including errors, of the SQL command that you ran.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/execute" id="bm_id3148798" localize="false"/><h2 id="hd_id3154071">Run</h2>
-<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/execute">Runs the command that you entered in the <emph>Command to execute </emph>box.</ahelp></paragraph>
+
+<h2 id="hd_id341652478726935">Run SQL commands directly</h2>
+<paragraph role="paragraph" id="par_id51652478737633">Execute the SQL command directly without escape processing.</paragraph>
+<h2 id="hd_id91652478785999">Show output of "select" statements</h2>
+<paragraph role="paragraph" id="par_id281652481037143">Show the result of the SQL SELECT command in the Output box.</paragraph>
+<h2 id="hd_id3154071">Execute</h2>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/execute">Runs the command that you entered in the <emph>Command to execute</emph> box.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sqlhistory" id="bm_id3154923" localize="false"/>
+<h2 id="hd_id3156024">Previous commands</h2>
+<paragraph role="paragraph" id="par_id3149045" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/sqlhistory">Lists the previously executed SQL commands. To run a command again, click the command, and then click <emph>Execute</emph>.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/status" id="bm_id3161656" localize="false"/>
+<h2 id="hd_id3154348">Status</h2>
+<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/status">Displays the status, including errors, of the SQL command that you ran.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/execute" id="bm_id3148798" localize="false"/>
+<h2 id="hd_id841652479655639">Output</h2>
+<paragraph role="paragraph" id="par_id511652479714010">Displays the results of the SQL command that you ran.</paragraph>
+
<embed href="text/shared/00/00000001.xhp#close2"/>
</body>
</helpdocument>