| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/sdatabase/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ODBC</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="odbc"></a>
<h1 id="hd_id3149031" dir="auto">ODBC</h1>
<p id="par_id3150499" class="paragraph" dir="auto"><span class="avis">Specifies the settings for <a target="_top" href="en-US/text/shared/00/00000005.html#odbc">ODBC</a> databases. This includes your user access data, driver settings, and font definitions.</span></p>
<a name="username"></a>
<h2 id="hd_id3148642" dir="auto">User Name</h2>
<p id="par_id3154514" class="paragraph" dir="auto"><span class="avis">Type the user name for accessing the database.</span></p>
<a name="password"></a>
<h2 id="hd_id3153665" dir="auto">Password required</h2>
<p id="par_id3145119" class="paragraph" dir="auto"><span class="avis">Prevents an unauthorized user from accessing the database. You only need to enter the password once per session.</span></p>
<a name="driver%20settings"></a>
<a name="bm_id3148473"></a><h2 id="hd_id3153087" dir="auto">Driver Settings</h2>
<p id="par_id3143271" class="paragraph" dir="auto"><span class="avis">Use this text field to enter additional optional driver settings if this is necessary.</span></p>
<a name="character_set"></a>
<h2 id="hd_id3152472" dir="auto">Character Set</h2>
<p id="par_id3151245" class="paragraph" dir="auto"><span class="avis">Select the code conversion that you want to use to view the database in LibreOffice. This does not affect the database.</span> Choose "System" to use the default character set of your operating system. Text and dBASE databases are restricted to character sets with a fixed-size character length, where all characters are encoded with the same number of bytes.</p>
<a name="retrieve"></a>
<h2 id="hd_id3149669" dir="auto">General</h2>
<a name="bm_id3161657"></a><h3 id="hd_id3147265" dir="auto">Retrieve generated values</h3>
<p id="par_id3151054" class="paragraph" dir="auto"><span class="avis">Enables LibreOffice support of auto-incremented data fields for the current ODBC or JDBC data source.</span> Select this check box if the database does not support the auto-increment feature in its SDBCX layer. In general, the auto-increment is selected for the primary key field.</p>
<a name="bm_id3150792"></a><h3 id="hd_id3150400" dir="auto">Auto-increment statement</h3>
<p id="par_id3154366" class="paragraph" dir="auto"><span class="avis">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</span> For example, a typical SQL statement to create a data field is: </p>
<p id="par_id3159149" class="paragraph" dir="auto">CREATE TABLE "table1" ("id" INTEGER)</p>
<p id="par_id3147084" class="paragraph" dir="auto">To auto-increment the "id" data field in a MySQL database, change the statement to:</p>
<p id="par_id3154909" class="paragraph" dir="auto">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</p>
<p id="par_id3152933" class="paragraph" dir="auto">In other words, enter AUTO_INCREMENT into <span class="emph">Auto-increment statement</span> box.</p>
<a name="bm_id3153195"></a><h3 id="hd_id3149765" dir="auto">Query of generated values</h3>
<p id="par_id3145171" class="paragraph" dir="auto"><span class="avis">Enter an SQL statement that returns the last auto-incremented value for the primary key data field.</span> For example:</p>
<p id="par_id3150769" class="paragraph" dir="auto">SELECT LAST_INSERT_D();</p>
<a name="sql92"></a>
<a name="bm_id3147289"></a><h3 id="hd_id3157892" dir="auto">Use SQL92 naming constraints</h3>
<p id="par_id3153368" class="paragraph" dir="auto"><span class="avis">Only allows names that use characters that conform to the SQL92 naming constraints in the data source. All other characters are rejected.</span> Each name must begin with a lower or upper case letter, or an underline ( _ ). The remaining characters can be ASCII letters, underlines, and numbers.</p>
<a name="bm_id3146148"></a><h3 id="hd_id3154011" dir="auto">Use Catalog for file-based databases</h3>
<p id="par_id3148618" class="paragraph" dir="auto"><span class="avis">Uses the current data source of the Catalog. This is useful when the ODBC data source is a database server. If the ODBC data source is a dBASE driver, leave this check box clear.</span></p>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/sdatabase/11020000.xhp" target="_blank">/text/sdatabase/11020000.xhp</a></p>
<p dir="auto">Title is: ODBC</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>