<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Accessing Vertica</title>
    <link>/en/connecting-to/client-libraries/accessing/</link>
    <description>Recent content in Accessing Vertica on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/client-libraries/accessing/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: C/C&#43;&#43;</title>
      <link>/en/connecting-to/client-libraries/accessing/ccpp/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/ccpp/</guid>
      <description>
        
        
        
&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;

You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/installing-odbc/&#34;&gt;install the ODBC client driver&lt;/a&gt; before creating C/C++ client applications.

&lt;/div&gt;
&lt;p&gt;Vertica provides an Open Database Connectivity (ODBC) driver that allows applications to connect to the Vertica database. This driver can be used by custom-written client applications that use the ODBC API to interact with Vertica. ODBC is also used by many third-party applications to connect to Vertica, including business intelligence applications and extract, transform, and load (ETL) applications.&lt;/p&gt;
&lt;p&gt;This section details the process for configuring the Vertica ODBC driver. It also explains how to use the ODBC API to connect to Vertica in your own client applications.&lt;/p&gt;
&lt;p&gt;While client applications written in C, C++, &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/perl/&#34;&gt;Perl&lt;/a&gt;, &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/php/&#34;&gt;PHP&lt;/a&gt;, etc. all use the ODBC client driver to connect to Vertica, this section only concerns C and C++ applications.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: C#</title>
      <link>/en/connecting-to/client-libraries/accessing/c/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/c/</guid>
      <description>
        
        
        &lt;p&gt;The Vertica driver for ADO.NET allows applications written in C# to read data from, update, and load data into Vertica databases. It provides a data adapter (&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/c/querying-db-using-ado-net/loading-data-through-ado-net/using-data-adapter/&#34;&gt;Vertica Data Adapter &lt;/a&gt;) that facilitates reading data from a database into a data set, and then writing changed data from the data set back to the database. It also provides a data reader ( VerticaDataReader) for reading data. The driver requires the .NET framework version 3.5+.&lt;/p&gt;
&lt;p&gt;For more information about ADO.NET, see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;http://msdn.microsoft.com/en-us/library/h43ks021(vs.85).aspx&#34;&gt;Overview of ADO.NET&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://msdn.microsoft.com/en-us/library/hh156542(v=vs.110).aspx&#34;&gt;.NET Framework Developer Guide&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/ado-netr/&#34;&gt;install the ADO.NET client driver&lt;/a&gt; before creating C# client applications.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Go</title>
      <link>/en/connecting-to/client-libraries/accessing/go/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/go/</guid>
      <description>
        
        
        &lt;p&gt;The open-source vertica-sql-go driver lets you interact with your database with Go. For details, see &lt;a href=&#34;https://github.com/vertica/vertica-sql-go&#34;&gt;vertica-sql-go&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Java</title>
      <link>/en/connecting-to/client-libraries/accessing/java/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/java/</guid>
      <description>
        
        
        &lt;p&gt;The Vertica JDBC driver provides you with a standard JDBC API. If you have accessed other databases using JDBC, you should find accessing Vertica familiar. This section explains how to use the JDBC to connect your Java application to Vertica.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/jdbc/installing-jdbc/&#34;&gt;install the JDBC client driver&lt;/a&gt; before creating Java client applications.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: JavaScript</title>
      <link>/en/connecting-to/client-libraries/accessing/javascript/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/javascript/</guid>
      <description>
        
        
        &lt;p&gt;The open-source vertica-nodejs client driver lets you interact with your database with JavaScript. For details, see the &lt;a href=&#34;https://www.npmjs.com/package/vertica-nodejs&#34;&gt; vertica-nodejs package on npm&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Perl</title>
      <link>/en/connecting-to/client-libraries/accessing/perl/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/perl/</guid>
      <description>
        
        
        &lt;p&gt;Perl scripts can interact with Vertica using the Perl DBI module along with the DBD::ODBC database driver to interface to the Vertica ODBC driver.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/perl/configuring-perl-development-environment/&#34;&gt;configure a Perl development environment&lt;/a&gt; before creating Perl client applications.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Python</title>
      <link>/en/connecting-to/client-libraries/accessing/python/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/python/</guid>
      <description>
        
        
        &lt;p&gt;The Vertica Python drivers provide an interface for Python client applications to interact with the database.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/python-client-drivers/installing-python-client-drivers/&#34;&gt;configure a Python development environment&lt;/a&gt; before creating Python client applications.

&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;

Both the Vertica Python client and Vertica ODBC driver (that pyodbc interacts with) do not support the native Vertica UUID data type. Values retrieved using these drivers from a UUID column are converted to strings. When your client queries the metadata for a UUID column, the drivers report its data type as a string. Convert any UUID values that you want to insert into a UUID column to strings. Vertica automatically converts these values into the native UUID data type before inserting them into a table.

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

      </description>
    </item>
    
    <item>
      <title>Connecting-To: PHP</title>
      <link>/en/connecting-to/client-libraries/accessing/php/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/accessing/php/</guid>
      <description>
        
        
        
&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;

You must &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/php/configuring-php-development-environment/&#34;&gt;configure a PHP development environment&lt;/a&gt; before creating PHP client applications.

&lt;/div&gt;
&lt;h2 id=&#34;setup&#34;&gt;Setup&lt;/h2&gt;
&lt;p&gt;You must read &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/ccpp/&#34;&gt;C/C&amp;#43;&amp;#43;&lt;/a&gt; before connecting to Vertica through PHP. The following example ODBC configuration entries detail the typical settings required for PHP ODBC connections. The driver location assumes you have copied the Vertica drivers to &lt;span class=&#34;sql&#34;&gt;/usr/lib64&lt;/span&gt;.&lt;/p&gt;
&lt;h2 id=&#34;example-odbcini&#34;&gt;Example odbc.ini&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[ODBC Data Sources]
VerticaDSNunixodbc = exampledb
VerticaDNSiodbc = exampledb2
[VerticaDSNunixodbc]
Description = VerticaDSN Unix ODBC driver
Driver = /usr/lib64/libverticaodbc.so
Database = Telecom
Servername = localhost
UserName = dbadmin
Password =
Port = 5433
[VerticaDSNiodbc]
Description = VerticaDSN iODBC driver
Driver = /usr/lib64/libverticaodbc.so
Database = Telecom
Servername = localhost
UserName = dbadmin
Password =
Port = 5433
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;example-odbcinstini&#34;&gt;Example odbcinst.ini&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Vertica
[VerticaDSNunixodbc]
Description = VerticaDSN Unix ODBC driver
Driver = /usr/lib64/libverticaodbc.so
[VerticaDNSiodbc]
Description = VerticaDSN iODBC driver
Driver = /usr/lib64/libverticaodbc.so
[ODBC]
Threading = 1
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;verify-the-vertica-unixodbc-or-iodbc-library&#34;&gt;Verify the Vertica UnixODBC or iODBC library&lt;/h2&gt;
&lt;p&gt;Verify the Vertica UnixODBC library can load all dependant libraries with the following command (assuming you have copies the libraries to &lt;span class=&#34;sql&#34;&gt;/usr/lib64&lt;/span&gt;):&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ldd /usr/lib64/libverticaodbc.so
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You must resolve any &amp;quot;not found&amp;quot; libraries before continuing.&lt;/p&gt;
&lt;h2 id=&#34;test-your-odbc-connection&#34;&gt;Test your ODBC connection&lt;/h2&gt;
&lt;p&gt;Test your ODBC connection with the following.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;isql -v VerticaDSN
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
