summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/02/14030000.xhp
blob: fd15006c2c73215c6d62006d49ef7a8234a0f372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->

<meta>
  <topic id="textshared0214030000xml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Run SQL command directly</title>
    <filename>/text/shared/02/14030000.xhp</filename>
  </topic>
  <history>
    <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
  </history>
</meta>
<body>
<section id="native">
<paragraph role="paragraph" id="par_id3149748" xml-lang="en-US" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/.uno:SbaNativeSql" id="bm_id3143284" localize="false"/>
<h1 id="hd_id3151100"><link href="text/shared/02/14030000.xhp" name="Run SQL command directly">Run SQL command directly</link></h1>
<paragraph role="paragraph" id="par_id3155364" xml-lang="en-US"><ahelp hid=".uno:SbaNativeSql">In <emph>Native SQL</emph> mode you can enter SQL commands that are not interpreted by $[officename], but are instead passed directly to the data source.</ahelp> If you do not display these changes in the design view, you cannot change back to the design view.</paragraph>
</section>
<paragraph role="paragraph" id="par_id3149999" xml-lang="en-US">For native SQL, the SQL string is forwarded directly to the connected database system without a previous evaluation by $[officename]. For example, if you access a database through an ODBC interface, the SQL string is passed to the ODBC driver and processed by it.</paragraph>
<section id="synative">
<table id="tbl_id3150710">
  <tablerow>
    <tablecell>
        <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US"><image id="img_id3147226" src="cmd/sc_sbanativesql.svg" width="1cm" height="1cm"><alt id="alt_id3147226" xml-lang="en-US">Run SQL command directly Icon</alt></image></paragraph>
    </tablecell>
    <tablecell>
      <paragraph role="paragraph" id="par_id3155893" xml-lang="en-US">Run SQL command directly</paragraph>
    </tablecell>
  </tablerow>
</table>
</section>
<paragraph role="paragraph" id="par_id3155535" xml-lang="en-US">Click the icon again to return to normal mode, in which the changes in the <link href="text/sdatabase/02010100.xhp" name="New Query Design"><emph>New Query Design</emph></link> are synchronized with the permitted changes through SQL.</paragraph>
</body>
</helpdocument>