<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Creating an ODBC data source name (DSN)</title>
    <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/</link>
    <description>Recent content in Creating an ODBC data source name (DSN) on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: Creating an ODBC DSN for Linux</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/creating-an-odbc-dsn-linux/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/creating-an-odbc-dsn-linux/</guid>
      <description>
        
        
        &lt;p&gt;You define DSN on Linux and other UNIX-like platforms in a text file. Your client&#39;s driver manager reads this file to determine how to connect to your OpenText™ Analytics Database. The driver manager usually looks for the DSN definitions in two places:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;/etc/odbc.ini&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;~/.odbc.ini&lt;/code&gt; (a file named &lt;code&gt;.odbc.ini&lt;/code&gt; in the user&#39;s home directory)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Users must be able to read the &lt;code&gt;odbc.ini&lt;/code&gt; file in order to use it to connect to the database. If you use a global &lt;code&gt;odbc.ini&lt;/code&gt; file, consider creating a UNIX group with read access to the file. Then, add the users who need to use the DSN to this group.&lt;/p&gt;
&lt;p&gt;The structure of these files is the same—only their location differs. If both files are present, the &lt;code&gt;~/.odbc.ini&lt;/code&gt; file usually overrides the system-wide &lt;code&gt;/etc/odbc.ini&lt;/code&gt; file.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

See your ODBC driver manager&#39;s documentation for details on where these files should be located and any other requirements.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;odbcini-file-structure&#34;&gt;odbc.ini file structure&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;odbc.ini&lt;/code&gt; is a text file that contains two types of lines:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Section definitions, which are text strings enclosed in square brackets.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Parameter definitions, which contain a parameter name, an equals sign (=), and then the parameter&#39;s value.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

The unixODBC driver manager supports parameter values of up to 1000 characters in &lt;code&gt;odbc.ini&lt;/code&gt;. If your parameter value is greater than 1000 characters (for example, OAuthAccessToken), you must pass it through a &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/setting-dsn-connection-properties/&#34;&gt;connection string&lt;/a&gt; rather than specifying it in &lt;code&gt;odbc.ini&lt;/code&gt;.

&lt;/div&gt;

&lt;p&gt;The first section of the file is always named [ODBC Data Sources], and contains a list of all the DSNs that the &lt;code&gt;odbc.ini&lt;/code&gt; file defines. The parameters in this section are the names of the DSNs, which appear as section definitions later in the file. The value is a text description of the DSN and has no function. For example, an &lt;code&gt;odbc.ini&lt;/code&gt; file that defines a single DSN named Vertica DSN could have this ODBC Data Sources section:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[ODBC Data Sources]
VerticaDSN = &amp;#34;vmartdb&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Appearing after the ODBC data sources section are sections that define each DSN. The name of a DSN section must match one of the names defined in the ODBC Data Sources section.&lt;/p&gt;
&lt;h2 id=&#34;configuring-the-odbcini-file&#34;&gt;Configuring the odbc.ini file:&lt;/h2&gt;
&lt;p&gt;To create or edit the DSN definition file:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Using the text editor of your choice, open &lt;code&gt;odbc.ini&lt;/code&gt; or &lt;code&gt;~/.odbc.ini&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create an ODBC Data Sources section and define a parameter:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Whose name is the name of the DSN you want to create&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Whose value is a description of the DSN&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example, to create a DSN named VMart, you would enter:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[ODBC Data Sources]
VMart = &amp;#34;VMart database on OpenText&amp;amp;trade; Analytics Database&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a section whose name matches the DSN name you defined in step 2. In this section, you add parameters that define the DSN&#39;s settings. The most commonly-defined parameters are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt; – Additional information about the data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Driver&lt;/strong&gt; – The location and designation of the ODBC driver, or the name of a driver defined in the &lt;code&gt;odbcinst.ini&lt;/code&gt; file (see below). For future compatibility, use the name of the symbolic link in the library directory, rather than the library file:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;(
&lt;code&gt;/opt/vertica/lib&lt;/code&gt;, on 32-bit clients&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;/opt/vertica/lib64&lt;/code&gt;, on 64-bit clients&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example, the symbolic link for the 64-bit ODBC driver library is:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/opt/vertica/lib64/libverticaodbc.so
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The symbolic link always points to the most up-to-date version of the database client ODBC library. Use this link so that you do not need to update all of your DSNs when you update your client drivers.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt; – The name of the database running on the server. This example uses vmartdb for the vmartdb.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ServerName&lt;/strong&gt; — The name of the server where the database is installed. Use localhost if the database is installed on the same machine.&lt;/p&gt;
&lt;p&gt;You can provide an IPv4 address, IPv6 address, or host name.&lt;/p&gt;
&lt;p&gt;In mixed IPv4/IPv6 networks, the DNS server configuration determines which IP version address is sent first. Use the &lt;code&gt;PreferredAddressFamily&lt;/code&gt; option to force the connection to use either IPv4 or IPv6.&lt;/p&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;UID&lt;/strong&gt; — Either the database superuser (same name as database administrator account) or a user that the superuser has created and granted privileges. This example uses the user name dbadmin.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;PWD&lt;/strong&gt; —The password for the specified user name. This example leaves the password field blank.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Port&lt;/strong&gt; — The port number on which the database listens for ODBC connections. For example, 5433.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ConnSettings&lt;/strong&gt; — Can contain SQL commands separated by a semicolon. These commands can be run immediately after connecting to the server.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;SSLKeyFile&lt;/strong&gt; — The file path and name of the client&#39;s private key. This file can reside anywhere on the system.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;SSLCertFile&lt;/strong&gt; —The file path and name of the client&#39;s public certificate. This file can reside anywhere on the system.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Locale&lt;/strong&gt; — The default locale used for the session. By default, the locale for the database is: en_US@collation=binary (English as in the United States of America). Specify the locale as an ICU Locale. See the ICU User Guide (&lt;a href=&#34;http://userguide.icu-project.org/locale&#34;&gt;http://userguide.icu-project.org/locale&lt;/a&gt;) for a complete list of parameters that can be used to specify a locale.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;PreferredAddressFamily&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;The IP version to use if the client and server have both IPv4 and IPv6 addresses and you have provided a host name, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ipv4&lt;/code&gt;: Connect to the server using IPv4.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ipv6&lt;/code&gt;: Connect to the server using IPv6.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;none&lt;/code&gt;: Use the IP address provided by the DNS server.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[VMart]
Description = Vmart Database
Driver = /opt/vertica/lib64/libverticaodbc.so
Database = vmartdb
Servername = host01
UID = dbadmin
PWD =
Port = 5433
ConnSettings =
AutoCommit = 0
SSLKeyFile = /home/dbadmin/client.key
SSLCertFile = /home/dbadmin/client.crt
Locale = en_US@collation=binary
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/odbc-dsn-connection-properties/#&#34;&gt;ODBC DSN connection properties&lt;/a&gt; for a complete list of parameters including database-specific ones.&lt;/p&gt;
&lt;h2 id=&#34;using-an-odbcinstini-file&#34;&gt;Using an odbcinst.ini file&lt;/h2&gt;
&lt;p&gt;Instead of giving the path of the ODBC driver library in your DSN definitions, you can use the name of a driver defined in the &lt;code&gt;odbcinst.ini&lt;/code&gt; file. This method is useful method if you have many DSNs and often need to update them to point to new driver libraries. It also allows you to set some additional ODBC parameters, such as the threading model.&lt;/p&gt;
&lt;p&gt;Just as in the &lt;code&gt;odbc.ini&lt;/code&gt; file, &lt;code&gt;odbcinst.ini&lt;/code&gt; has sections. Each section defines an ODBC driver that can be referenced in the &lt;code&gt;odbc.ini&lt;/code&gt; files.&lt;/p&gt;
&lt;p&gt;In a section, you can define the following parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;— Additional information about the data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Driver&lt;/strong&gt;— The location and designation of the ODBC driver, such as 
&lt;code&gt;/opt/vertica/lib64/libverticaodbc.so&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[Vertica]
Description = ODBC Driver
Driver = /opt/vertica/lib64/libverticaodbc.so
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then, in your &lt;code&gt;odbc.ini&lt;/code&gt; file, use the name of the section you created in the &lt;code&gt;odbcinst.ini&lt;/code&gt; file that describes the driver you want to use. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[VMart]
Description = Vmart database
Driver = Vertica
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If you are using the unixODBC driver manager, you should also add an ODBC section to override its standard threading settings. By default, unixODBC serializes all SQL calls through ODBC, which prevents multiple parallel loads. To change this default behavior, add the following to your &lt;code&gt;odbcinst.ini&lt;/code&gt; file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[ODBC]
Threading = 1
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;configuring-additional-odbc-settings&#34;&gt;Configuring additional ODBC settings&lt;/h2&gt;
&lt;p&gt;On Linux and UNIX systems, you need to configure some additional driver settings before you can use your DSN. See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/odbc-driver-settings/#&#34;&gt;ODBC driver settings&lt;/a&gt; for details.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Creating an ODBC DSN for windows clients</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/</guid>
      <description>
        
        
        &lt;p&gt;To create a DSN for Microsoft Windows clients, you must perform the following tasks:&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Creating an ODBC DSN for macOS clients</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/mac-dsn/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/mac-dsn/</guid>
      <description>
        
        
        &lt;p&gt;You can use the OpenText™ Analytics Database ODBC Driver to set up an ODBC DSN. This procedure assumes that the driver is already installed, as described in &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/installing-odbc/#&#34;&gt;Installing the ODBC client driver&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;setting-up-a-dsn&#34;&gt;Setting up a DSN&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Using your web browser, download and install the Apple &lt;a href=&#34;http://support.apple.com/kb/DL895&#34;&gt;ODBC Administrator Tool&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Locate and open the ODBC Administrator Tool after installation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;strong&gt;Finder&lt;/strong&gt; &amp;gt; &lt;strong&gt;Applications&lt;/strong&gt; &amp;gt; &lt;strong&gt;Utilities&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the ODBC Administrator Tool.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Drivers&lt;/strong&gt; tab, and verify that the database driver is installed. &lt;br&gt;
&lt;img src=&#34;../../../../../../../images/screen-shot-2015-02-20-at-2-23-32-pm.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify if you want all users on your client system to be able to access the DSN for the database:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you want all users to have access, then click the &lt;strong&gt;System DSN&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Otherwise, click the &lt;strong&gt;User DSN&lt;/strong&gt; tab to create a DSN that is only usable by your Macintosh user account.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add...&lt;/strong&gt; to create a new DSN to connect to the database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Scroll through the list of drivers in the Choose A Driver dialog box to locate the database driver. Select the driver and click &lt;strong&gt;OK&lt;/strong&gt;. A dialog box opens that requests DSN parameter information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the dialog box, enter the &lt;strong&gt;Data Source Name (DSN)&lt;/strong&gt; and an optional &lt;strong&gt;Description&lt;/strong&gt;. To do so, click &lt;strong&gt;Add&lt;/strong&gt; to insert keywords (parameters) and values that define the settings needed to connect to your database, including database name, server host, database user name (such as dbadamin), database password, and port. Then, click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the ODBC Administrator dialog box, click &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/odbc-dsn-connection-properties/#&#34;&gt;ODBC DSN connection properties&lt;/a&gt; for a complete list of parameters including those specific to the database.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After configuring the ODBC Administrator Tool, you may need to configure additional driver settings before you can use your DSN, depending on your environment. See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/odbc-driver-settings/&#34;&gt;Additional ODBC Driver Configuration Settings&lt;/a&gt; for details.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

To test your connection, use the &lt;code&gt;iodbctest&lt;/code&gt; utility. For details, see &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/mac-dsn/testing-an-odbc-dsn-using-iodbctest/#&#34;&gt;Testing an ODBC DSN using iodbctest&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: ODBC DSN connection properties</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/odbc-dsn-connection-properties/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/odbc-dsn-connection-properties/</guid>
      <description>
        
        
        &lt;p&gt;The following tables list the connection properties you can set in the DSNs for use with OpenText™ Analytics Database&#39;s ODBC driver. To set these parameters, see &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/setting-dsn-connection-properties/#&#34;&gt;Setting DSN connection properties&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;required-connection-properties&#34;&gt;Required connection properties&lt;/h2&gt;
&lt;p&gt;These connection properties are the minimum required to create a functioning DSN.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If you use a host name (Servername) whose DNS entry resolves to multiple IP addresses, the client attempts to connect to the first IP address returned by the DNS. If a connection cannot be made to the first address, the client attempts to connect to the second, then the third, continuing until it either connects successfully or runs out of addresses.

&lt;/div&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Driver&lt;/td&gt; 

&lt;td &gt;


The file path and name of the driver used.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Database&lt;/td&gt; 

&lt;td &gt;


The name of the database running on the server.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Servername&lt;/td&gt; 

&lt;td &gt;








&lt;p&gt;The host name or IP address of any active node in a database cluster.&lt;/p&gt;
&lt;p&gt;You can provide an IPv4 address, IPv6 address, or host name.&lt;/p&gt;
&lt;p&gt;In mixed IPv4/IPv6 networks, the DNS server configuration determines which IP version address is sent first. Use the &lt;code&gt;PreferredAddressFamily&lt;/code&gt; option to force the connection to use either IPv4 or IPv6.&lt;/p&gt;
&lt;p&gt;You can also use the aliases &amp;quot;server&amp;quot; and &amp;quot;host&amp;quot; for this property.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


UID&lt;/td&gt; 

&lt;td &gt;


The database username.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;optional-properties&#34;&gt;Optional properties&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Port&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The port number on which the database listens for ODBC connections.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; 5433&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


PWD&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The password for the specified user name. You may insert an empty string to leave this property blank.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; None, login only succeeds if the user does not have a password set.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
PreferredAddressFamily&lt;/td&gt; 

&lt;td &gt;
















&lt;p&gt;The IP version to use if the client and server have both IPv4 and IPv6 addresses and you have provided a host name, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ipv4&lt;/code&gt;: Connect to the server using IPv4.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ipv6&lt;/code&gt;: Connect to the server using IPv6.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;none&lt;/code&gt;: Use the IP address provided by the DNS server.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; none&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;advanced-settings&#34;&gt;Advanced settings&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


AutoCommit&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;A Boolean value that controls whether the driver automatically commits transactions after executing a DML statement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; true&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
BackupServerNode&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;A string containing the host name or IP address that client libraries can try to connect to if the host specified in ServerName is unreachable. Connection attempts continue until successful or until the list of server nodes is exhausted.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Valid values:&lt;/strong&gt; Comma-separated list of servers optionally followed by a colon and port number.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
ConnectionLoadBalance&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;A Boolean value that indicates whether the connection can be redirected to a host in the database other than the ServerNode.&lt;/p&gt;
&lt;p&gt;This affects the connection only if the load balancing. is set to something other than &amp;quot;none&amp;quot;. When the node differs from the node the client is connected to, the client disconnects and reconnects to the targeted node. See &lt;a href=&#34;../../../../../../../en/admin/managing-client-connections/connection-load-balancing/about-native-connection-load-balancing/&#34;&gt;About Native Connection Load Balancing&lt;/a&gt; in the Administration Guide.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


ConnSettings&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;A string containing SQL commands that the driver should execute immediately after connecting to the server. You can use this property to configure the connection, such as setting a schema search path.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Reserved symbol:&lt;/strong&gt; In the connection string semicolon (&lt;code&gt;;&lt;/code&gt;) is a reserved symbol. To set multiple properties as part of ConnSettings properties, use &lt;code&gt;%3B&lt;/code&gt; as the comma delimiter, and &lt;code&gt;+&lt;/code&gt; (plus) for spaces.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


ConnectionTimeout&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The number of seconds to wait for a request to complete before returning to the client application. This is equivalent to the &lt;a href=&#34;https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetconnectattr-function&#34;&gt;SQL_ATTR_CONNECTION_TIMEOUT&lt;/a&gt; parameter in the ODBC API.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: 0 (no timeout)&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
ConvertSquareBracketIdentifiers&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Controls whether square-bracket query identifiers are converted to a double quote identifier for compatibility when making queries to a database.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


DirectBatchInsert&lt;/td&gt; 

&lt;td &gt;


Deprecated, always set to true.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


DriverStringConversions&lt;/td&gt; 

&lt;td &gt;












&lt;p&gt;Controls whether the ODBC driver performs type conversions on strings sent between the ODBC driver and the database. Possible values are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;NONE: No conversion in either direction. This results in the highest performance.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;INPUT: Strings sent from the client to the server are converted, but strings sent from the server to the client are not.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;OUTPUT: Strings sent by the server to the client are converted, but strings sent from the client to the server are not.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;BOTH: Strings are converted in both directions.&lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; OUTPUT&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Locale&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;The locale used for the session. Specify the locale as an ICU Locale.&lt;/p&gt;
&lt;p&gt;**See **the &lt;a href=&#34;http://userguide.icu-project.org/locale&#34;&gt;ICU User Guide&lt;/a&gt; for a complete list of properties that can be used to specify a locale.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; &lt;code&gt;en_US@collation=binary&lt;/code&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


PromptOnNoPassword&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;[Windows only] Controls whether users are prompted to enter a password, if none is supplied by the connection string or DSN used to connect to the database. See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/accessing/ccpp/prompting-windows-users-passwords/#&#34;&gt;Prompting windows users for passwords&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


ReadOnly&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;A true or false value that controls whether the connection can read data only from the database.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


ResultBufferSize&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Size of memory buffer for the large result sets in streaming mode. A value of 0 means ResultBufferSize is turned off.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; 131072 (128KB)&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


TransactionIsolation&lt;/td&gt; 

&lt;td &gt;











&lt;p&gt;Sets the transaction isolation for the connection, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Read Committed&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Serializable&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Server Default&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../../../../en/admin/configuring-db/config-procedure/change-transaction-isolation-levels/&#34;&gt;Changing Transaction Isolation Levels&lt;/a&gt; for an explanation of transaction isolation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; Server Default&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Workload&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The name of the workload for the session. For details, see &lt;a href=&#34;../../../../../../../en/admin/managing-client-connections/connection-load-balancing/workload-routing/#&#34;&gt;Workload routing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; None (no workload)&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;identification&#34;&gt;Identification&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt; 

&lt;th &gt;
Standard/ Vertica&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Description&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Description for the DSN entry.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Required?&lt;/strong&gt; No&lt;/p&gt;
&lt;p&gt;Insert an empty string to leave the description empty.&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Standard&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Label / SessionLabel&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Sets a label for the connection on the server. This value appears in the client_label column of the &lt;a href=&#34;../../../../../../../en/sql-reference/system-tables/v-monitor-schema/sessions/&#34;&gt;V_MONITOR.SESSIONS&lt;/a&gt; system table.&lt;/p&gt;
&lt;p&gt;Label and SessionLabel are synonyms and can be used interchangeably.&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;oauth-connection-properties&#34;&gt;OAuth connection properties&lt;/h2&gt;
&lt;p&gt;The following connection properties pertain to &lt;a href=&#34;../../../../../../../en/security-and-authentication/client-authentication/oauth-2-0-authentication/configuring-oauth-authentication/&#34;&gt;OAuth&lt;/a&gt; in ODBC.&lt;/p&gt;
&lt;p&gt;
&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

The unixODBC driver manager supports parameter values of up to 1000 characters in &lt;code&gt;odbc.ini&lt;/code&gt;. If your parameter value is greater than 1000 characters (for example, OAuthAccessToken), you must pass it through a &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/setting-dsn-connection-properties/&#34;&gt;connection string&lt;/a&gt; rather than specifying it in &lt;code&gt;odbc.ini&lt;/code&gt;.

&lt;/div&gt;


&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
AccessToken&lt;/td&gt; 

&lt;td &gt;







&lt;p&gt;Required if OAuthRefreshToken is unspecified, an OAuth token that authorizes a user to the database.&lt;/p&gt;
&lt;p&gt;Either OAuthAccessToken or OAuthRefreshToken must be set (programmatically or manually) to authenticate to OpenText™ Analytics Database with OAuth authentication.&lt;/p&gt;
&lt;p&gt;You can omit both OAuthAccessToken and OAuthRefreshToken only if you authenticate to your identity provider directly with single sign-on through the client driver, which requires the machine running the ODBC driver to have access to a web browser.&lt;/p&gt;
&lt;p&gt;For details on the different methods for retrieving access tokens, see &lt;a href=&#34;../../../../../../../en/security-and-authentication/client-authentication/oauth-2-0-authentication/configuring-oauth-authentication/#retrieve-access-token&#34;&gt;Retrieving access tokens&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
RefreshToken&lt;/td&gt; 

&lt;td &gt;


















&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;
&lt;p&gt;Use OAuthAccessToken instead. Token refresh should be handled by the client application separately.&lt;/p&gt;
&lt;/div&gt;
Required if OAuthAccessToken is unspecified, a token that used to obtain a new access token when their old one expires.
&lt;p&gt;Either OAuthAccessToken or OAuthRefreshToken must be set (programmatically or manually) to authenticate to OpenText™ Analytics Database with OAuth authentication.&lt;/p&gt;
&lt;p&gt;You can omit both OAuthAccessToken and OAuthRefreshToken only if you authenticate to your identity provider directly with single sign-on through the client driver, which requires the machine running the ODBC driver to have access to a web browser.&lt;/p&gt;
&lt;p&gt;For details on the different methods for retrieving access tokens, see &lt;a href=&#34;../../../../../../../en/security-and-authentication/client-authentication/oauth-2-0-authentication/configuring-oauth-authentication/#retrieve-access-token&#34;&gt;Retrieving access tokens&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you set this parameter, you must also set the OAuthClientSecret connection property.&lt;/p&gt;
&lt;p&gt;In cases where introspection fails (e.g. when the access token expires), OpenText™ Analytics Database responds to the request with an error. If introspection fails and OAuthRefreshToken is specified, the driver attempts to refresh and silently retrieve a new access token. Otherwise, the driver passes error to the client application.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
OAuth Redirect Port&lt;/td&gt; 

&lt;td &gt;

Optional. Sets the desired OAuth redirect port for OAuth web browser login.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Client ID&lt;/td&gt; 

&lt;td &gt;

Required. The ID of the confidential client application registered in the identity provider. The database uses this ID to call the introspection API to retrieve user grants.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
ClientSecret&lt;/td&gt; 

&lt;td &gt;








&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;
&lt;p&gt;Use OAuthAccessToken instead. Token refresh should be handled by the client application separately.&lt;/p&gt;
&lt;/div&gt;
The secret provided by your identity provider for your client. This parameter is required for confidential clients.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Token URL&lt;/td&gt; 

&lt;td &gt;

Required for single-sign on (SSO). This is the token endpoint provided by your identity provider.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Discovery URL&lt;/td&gt; 

&lt;td &gt;

The database uses this endpoint to retrieve information about the identity provider&#39;s configuration and other endpoints (Keycloak only).&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Scope&lt;/td&gt; 

&lt;td &gt;

Optional. The requested OAuth scopes define the extent of access for OAuth web browser login.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;multi-factor-authentication&#34;&gt;Multi factor authentication&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Totp&lt;/td&gt; 

&lt;td &gt;


Specify the current Time-based One-time Password (Totp) value. The Totp is sent to the server in the connection string for validation. If MFA is enforced and you do not provide a Totp, a dialog is displayed. You need to enter the Totp before proceeding with authentication. Totp values are generated at 30-second intervals. A Totp code remains valid for up to 90 seconds.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;encryption&#34;&gt;Encryption&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt; 

&lt;th &gt;
Standard/ Vertica&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


SSLMode&lt;/td&gt; 

&lt;td &gt;























&lt;p&gt;Controls whether the connection to the database uses SSL encryption, one of the following. For information on using these parameters to configure TLS, see &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/accessing/ccpp/configuring-tls-odbc-clients/#&#34;&gt;Configuring TLS for ODBC Clients&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;require&lt;/code&gt;: Requires that the server use TLS. If the TLS connection attempt fails, the client rejects the connection.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prefer&lt;/code&gt;: Prefers that the server use TLS. The client first attempts to connect using TLS. If that attempt fails, the client attempts to connect again in plaintext.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;
&lt;p&gt;On Windows, the supported options are &lt;code&gt;require&lt;/code&gt; and &lt;code&gt;prefer&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
* `verify-ca`: The client verifies that the server&#39;s certificate was issued by a trusted certificate authority (CA).
* `verify-full`: The client verifies that the following conditions are met:
- The server&#39;s certificate was issued by a trusted CA.
- One of the following:
  - The server&#39;s hostname matches the common name specified in the server&#39;s certificate.
  - The server&#39;s hostname or IP address appears in the Subject Alternative Name (SAN) field of the server&#39;s certificate.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;disable&lt;/code&gt;: Never connect to the server using TLS. This setting is typically used for troubleshooting.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; prefer&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
SSLCertFile&lt;/td&gt; 

&lt;td &gt;
The absolute path of the client&#39;s public certificate file. This file can reside anywhere on the system.&lt;/td&gt; 

&lt;td &gt;
Vertica&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
SSLKeyFile&lt;/td&gt; 

&lt;td &gt;
The absolute path to the client&#39;s private key file. This file can reside anywhere on the system.&lt;/td&gt; 

&lt;td &gt;
Vertica&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;third-party-compatibility&#34;&gt;Third-party compatibility&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt; 

&lt;th &gt;
Default&lt;/th&gt; 

&lt;th &gt;
Standard/ Vertica&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;a name=&#34;ColumnsAsChar&#34;&gt;&lt;/a&gt;ColumnsAsChar&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Specifies how character column types are reported when the driver is in Unicode mode. When set to false, the ODBC driver reports the data type of character columns as WCHAR. If you set ColumnsAsChar to true, the driver identifies character column as CHAR.&lt;/p&gt;
&lt;p&gt;You typically use this setting for compatibility with some third-party clients.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;false&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


ThreePartNaming&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;A Boolean value that controls how catalog names are interpreted by the driver. When this value is false, the driver reports that catalog names are not supported. When catalog names are not supported, they cannot be used as a filter in database metadata API calls. In this case, the driver returns NULL as the catalog name in all driver metadata results.&lt;/p&gt;
&lt;p&gt;When this value is true, catalog names can be used as a filter in database metadata API calls. In this case, the driver returns the database name as the catalog name in metadata results. Some third-party applications assume a certain catalog behavior and do not work properly with the default values. Enable this option if your client software expects to get the catalog name from the database metadata and use it as part of a three-part name reference.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false for UNIX, true for Windows&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;&lt;code&gt;false&lt;/code&gt; (UNIX)&lt;/p&gt;
&lt;p&gt;&lt;code&gt;true&lt;/code&gt; (Window)&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
EnforceBatchInsertNullConstraints&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Prevents NULL values from being loaded into columns with a NOT NULL constraint during batch inserts. When this value is set to true, batch inserts roll back when NULL values are inserted in to columns with NOT NULL constraints. When this value is set to false, batch insert behavior is unchanged.&lt;/p&gt;
&lt;p&gt;OpenText recommends using this property only with SAP Data Services as it could negatively impact database performance.&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;
&lt;code&gt;false&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
Vertica&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;kerberos-connection-properties&#34;&gt;Kerberos connection properties&lt;/h2&gt;
&lt;p&gt;Use the following properties for client authentication using Kerberos.

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Property&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt; 

&lt;th &gt;
Standard/ Vertica&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


KerberosServiceName&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Provides the service name portion of the database Kerberos principal; for example: &lt;code&gt;vertichost@EXAMPLE.COM&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; vertica&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


KerberosHostname&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Provides the instance or host name portion of the database Kerberos principal; for example: &lt;code&gt;verticaosEXAMPLE.COM&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; Value specified in the servername connection string property&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;


Vertica&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/odbc-driver-settings/#&#34;&gt;ODBC driver settings&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Setting DSN connection properties</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/setting-dsn-connection-properties/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/setting-dsn-connection-properties/</guid>
      <description>
        
        
        &lt;p&gt;The properties in the following tables are common for all user and system DSN entries. The examples provided are for Windows clients.&lt;/p&gt;
&lt;p&gt;To edit DSN properties:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;On UNIX and Linux client platforms, you can edit the &lt;code&gt;odbc.ini&lt;/code&gt; file. The location of this file is specific to the driver manager. See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/creating-an-odbc-dsn-linux/#&#34;&gt;Creating an ODBC DSN for Linux&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On Windows client platforms, you can edit some DSN properties using the OpenText™ Analytics Database ODBC client driver interface. See &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/#&#34;&gt;Creating an ODBC DSN for windows clients&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You can also edit the DSN properties directly by opening the DSN entry in the Windows registry (for example, at &lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\&lt;/code&gt;&lt;em&gt;&lt;code&gt;DSNname&lt;/code&gt;&lt;/em&gt;). Directly editing the registry can be risky, so you should only use this method for properties that cannot be set through the ODBC driver&#39;s user interface, or via your client code.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You can set properties in the connection string when opening a connection using the &lt;code&gt;SQLDriverConnect()&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sqlRet = SQLDriverConnect(sql_hDBC, 0, (SQLCHAR*)&amp;#34;DSN=&lt;span class=&#34;code-variable&#34;&gt;DSNName&lt;/span&gt;;Locale=en_GB@collation=binary&amp;#34;, SQL_NTS, szDNS, 1024,&amp;amp;nSize, SQL_DRIVER_NOPROMPT);
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;p&gt;In the connection string &#39;;&#39; is a reserved symbol. If you need to set multiple properties as part of the ConnSettings property use &#39;%3B&#39; in place of &#39;;&#39;. Also use &#39;+&#39; instead of spaces.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sqlRet = SQLDriverConnect(sql_hDBC, 0, (SQLCHAR*)&amp;#34;DSN=Vertica SQL;ConnSettings=set+search_path+to+a,b,c%3Bset+locale=ch;SSLMode=prefer&amp;#34;, SQL_NTS,
szDNS, 1024,&amp;amp;nSize, SQL_DRIVER_NOPROMPT);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Your client code can retrieve DSN property values after a connection has been made to the database using the &lt;code&gt;SQLGetConnectAttr()&lt;/code&gt; and &lt;code&gt;SQLGetStmtAttr()&lt;/code&gt; API calls. Some properties can be set and using &lt;code&gt;SQLSetConnectAttr()&lt;/code&gt; and &lt;code&gt;SQLSetStmtAttr()&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For details of the list of properties specific to the database, see &lt;a href=&#34;../../../../../../../en/connecting-to/client-libraries/accessing/ccpp/odbc-header-file/&#34;&gt;ODBC Header Files specific to OpenText™ Analytics Database&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
