11020000.xhp (efa0b2f7) | 11020000.xhp (e638d64b) |
---|---|
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 --- 40 unchanged lines hidden (view full) --- 49<!-- removed HID HID_DSADMIN_CHARSET_ODBC --><paragraph role="heading" id="hd_id3152472" xml-lang="en-US" level="2" l10n="U" oldref="12">Character Set</paragraph> 50<paragraph role="paragraph" id="par_id3151245" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="HID_DSADMIN_CHARSET_ODBC">Select the code conversion that you want to use to view the database in $[officename]. This does not affect the database.</ahelp> 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.</paragraph> 51</section> 52<section id="retrieve"> 53<paragraph role="heading" id="hd_id3149669" xml-lang="en-US" level="2" l10n="U" oldref="22">General</paragraph> 54<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_AUTORETRIEVEENABLED" id="bm_id3161657" localize="false"/><paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="3" l10n="U" oldref="24">Retrieve generated values</paragraph> 55<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_DSADMIN_AUTORETRIEVEENABLED">Enables $[officename] support of auto-incremented data fields for the current ODBC or JDBC data source.</ahelp> 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.</paragraph> 56<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_AUTOINCREMENTVALUE" id="bm_id3150792" localize="false"/><paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="3" l10n="U" oldref="26">Auto-increment statement</paragraph> | 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 --- 40 unchanged lines hidden (view full) --- 49<!-- removed HID HID_DSADMIN_CHARSET_ODBC --><paragraph role="heading" id="hd_id3152472" xml-lang="en-US" level="2" l10n="U" oldref="12">Character Set</paragraph> 50<paragraph role="paragraph" id="par_id3151245" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="HID_DSADMIN_CHARSET_ODBC">Select the code conversion that you want to use to view the database in $[officename]. This does not affect the database.</ahelp> 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.</paragraph> 51</section> 52<section id="retrieve"> 53<paragraph role="heading" id="hd_id3149669" xml-lang="en-US" level="2" l10n="U" oldref="22">General</paragraph> 54<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_AUTORETRIEVEENABLED" id="bm_id3161657" localize="false"/><paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="3" l10n="U" oldref="24">Retrieve generated values</paragraph> 55<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_DSADMIN_AUTORETRIEVEENABLED">Enables $[officename] support of auto-incremented data fields for the current ODBC or JDBC data source.</ahelp> 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.</paragraph> 56<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_AUTOINCREMENTVALUE" id="bm_id3150792" localize="false"/><paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="3" l10n="U" oldref="26">Auto-increment statement</paragraph> |
57<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="27"><ahelp hid="HID_DSADMIN_AUTOINCREMENTVALUE">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, a typical SQL statement to create a data field is: </paragraph> | 57<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="27"><ahelp hid="HID_DSADMIN_AUTOINCREMENTVALUE">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, a typical SQL statement to create a data field is:</paragraph> |
58<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="28">CREATE TABLE "table1" ("id" INTEGER)</paragraph> 59<paragraph role="paragraph" id="par_id3147084" xml-lang="en-US" l10n="U" oldref="29">To auto-increment the "id" data field in a MySQL database, change the statement to:</paragraph> 60<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="30">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph> 61<paragraph role="paragraph" id="par_id3152933" xml-lang="en-US" l10n="U" oldref="31">In other words, enter AUTO_INCREMENT into <emph>Auto-increment statement</emph> box.</paragraph> 62<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_RETRIEVE_AUTO" id="bm_id3153195" localize="false"/><paragraph role="heading" id="hd_id3149765" xml-lang="en-US" level="3" l10n="U" oldref="32">Query of generated values</paragraph> 63<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="33"><ahelp hid="HID_DSADMIN_RETRIEVE_AUTO">Enter an SQL statement that returns the last auto-incremented value for the primary key data field.</ahelp> For example:</paragraph> 64<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="34">SELECT LAST_INSERT_D();</paragraph> 65</section> 66<section id="sql92"> 67<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_SQL92CHECK" id="bm_id3147289" localize="false"/><paragraph role="heading" id="hd_id3157892" xml-lang="en-US" level="3" l10n="U" oldref="18">Use SQL92 naming constraints</paragraph> 68<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="HID_DSADMIN_SQL92CHECK">Only allows names that use characters that conform to the SQL92 naming constraints in the data source. All other characters are rejected.</ahelp> Each name must begin with a lower or upper case letter, or an underline ( _ ). The remaining characters can be ASCII letters, underlines, and numbers.</paragraph> 69</section> 70<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_USECATALOG" id="bm_id3146148" localize="false"/><paragraph role="heading" id="hd_id3154011" xml-lang="en-US" level="3" l10n="U" oldref="15">Use Catalog for file-based databases</paragraph> 71<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="HID_DSADMIN_USECATALOG">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.</ahelp></paragraph> 72</body> 73</helpdocument> | 58<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="28">CREATE TABLE "table1" ("id" INTEGER)</paragraph> 59<paragraph role="paragraph" id="par_id3147084" xml-lang="en-US" l10n="U" oldref="29">To auto-increment the "id" data field in a MySQL database, change the statement to:</paragraph> 60<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="30">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph> 61<paragraph role="paragraph" id="par_id3152933" xml-lang="en-US" l10n="U" oldref="31">In other words, enter AUTO_INCREMENT into <emph>Auto-increment statement</emph> box.</paragraph> 62<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_RETRIEVE_AUTO" id="bm_id3153195" localize="false"/><paragraph role="heading" id="hd_id3149765" xml-lang="en-US" level="3" l10n="U" oldref="32">Query of generated values</paragraph> 63<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="33"><ahelp hid="HID_DSADMIN_RETRIEVE_AUTO">Enter an SQL statement that returns the last auto-incremented value for the primary key data field.</ahelp> For example:</paragraph> 64<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="34">SELECT LAST_INSERT_D();</paragraph> 65</section> 66<section id="sql92"> 67<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_SQL92CHECK" id="bm_id3147289" localize="false"/><paragraph role="heading" id="hd_id3157892" xml-lang="en-US" level="3" l10n="U" oldref="18">Use SQL92 naming constraints</paragraph> 68<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="HID_DSADMIN_SQL92CHECK">Only allows names that use characters that conform to the SQL92 naming constraints in the data source. All other characters are rejected.</ahelp> Each name must begin with a lower or upper case letter, or an underline ( _ ). The remaining characters can be ASCII letters, underlines, and numbers.</paragraph> 69</section> 70<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_USECATALOG" id="bm_id3146148" localize="false"/><paragraph role="heading" id="hd_id3154011" xml-lang="en-US" level="3" l10n="U" oldref="15">Use Catalog for file-based databases</paragraph> 71<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="HID_DSADMIN_USECATALOG">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.</ahelp></paragraph> 72</body> 73</helpdocument> |