1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textshared0214030000xml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Run SQL command directly</title>
28<filename>/text/shared/02/14030000.xhp</filename>
29</topic>
30</meta>
31<body>
32<section id="native">
33<paragraph role="paragraph" id="par_id3149748" xml-lang="en-US" l10n="E" localize="false"/>
34<bookmark xml-lang="en-US" branch="hid/.uno:SbaNativeSql" id="bm_id9820973" localize="false"/><!-- HID added by script -->
35<bookmark xml-lang="en-US" branch="hid/.uno:SbaNativeSql" id="bm_id3143284" localize="false"/>
36<paragraph role="heading" id="hd_id3151100" xml-lang="en-US" level="1" l10n="U"><link href="text/shared/02/14030000.xhp" name="Run SQL command directly">Run SQL command directly</link></paragraph>
37<paragraph role="paragraph" id="par_id3155364" xml-lang="en-US" l10n="U"><ahelp hid=".uno:SbaNativeSql">In Native SQL 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>
38</section>
39<paragraph role="paragraph" id="par_id3149999" xml-lang="en-US" l10n="U">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>
40<section id="synative">
41<table id="tbl_id3150710">
42<tablerow>
43<tablecell colspan="" rowspan="">
44<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="E">
45<image id="img_id3147226" src="res/commandimagelist/sc_sbanativesql.png"><alt id="alt_id3147226" xml-lang="en-US">Icon</alt>
46</image></paragraph>
47</tablecell>
48<tablecell colspan="" rowspan="">
49<paragraph role="paragraph" id="par_id3155893" xml-lang="en-US" l10n="U">Run SQL command directly</paragraph>
50</tablecell>
51</tablerow>
52</table>
53</section>
54<paragraph role="paragraph" id="par_id3155535" xml-lang="en-US" l10n="U">Click the icon again to return to normal mode, in which the changes in the <link href="text/shared/explorer/database/02010100.xhp" name="New Query Design">New Query Design</link> are synchronized with the permitted changes through SQL.</paragraph>
55</body>
56</helpdocument>
57