The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.

VerticaClient and odbc

Hello, can anyone explain to me what's the difference here between using VerticaConnection object and OdbcConnection ?
we have a solution that generates an INSERT statement of aggregated data, this statement is failing sometimes with the error:
The connection is closed at Vertica.Data.Internal.ADO.Net.SCommand.Prepare(Boolean isExecDirect)
at Vertica.Data.Internal.ADO.Net.SCommand.Prepare()
at Vertica.Data.VerticaClient.VerticaCommand.Prepare()
at Vertica.Data.VerticaClient.VerticaCommand.ExecuteNonQuery()

we are using __VerticaConnection_ _, when I tried to use OdbcConnection instead it worked fine (of course after changing the connectionstring and a some tweaks)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.