Page 1 of 1

Connecting to Vertica from SAS

Posted: Wed Aug 01, 2012 3:59 am
by doug_harmon
I was able to connect SAS to Vertica from a Windows OS. After setting up and testing the ODBC connection I used this syntax to create a SAS library.
The tricky part is remembering to include the schema name.

Code: Select all

LIBNAME <VerticaLibaryName> DATASRC='<ODBCDataSourceName' USER='<UserName>'  PASSWORD='<Password>' SCHEMA='<SchemaName>';
Example:

Code: Select all

LIBNAME EDW DATASRC='ODBC_EDW' USER='MyNameHere' PASSWORD='MyPasswordHere' SCHEMA='public';

Re: Connecting to Vertica from SAS

Posted: Sat Sep 06, 2014 7:43 pm
by nidhikhetrapal
Can we create/update a table in Vertica through SAS ??