Skip to main content

Can I connect Vertica with C++?

  • September 13, 2017
  • 1 reply
  • 6 views

tahsin18

Can I connect Vertica with C++ and run queries from there? Like java can be connected with JDBC. Is there anything like it for C++?

1 reply

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • September 14, 2017

Vertica is a ODBC-compliant database. Therefore your c++ program can use ODBC to communicate with your Vertica database.

See:
https://my.vertica.com/docs/8.1.x/HTML/index.htm#Authoring/ConnectingToVertica/ClientDriverMisc/InstallingTheHPVerticaClientDrivers.htm

You can also develop fenced and unfenced UDxs of all types in C++

See:
https://my.vertica.com/docs/8.1.x/HTML/index.htm#Authoring/ExtendingVertica/C++/DevelopingInC++.htm