LD_LIBRARY_PATH=/dbi/netezza/7.0.4/lib64:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:} export ODBCINI=/env/netezza/odbc.ini export NZ_ODBC_INI_PATH=/env/netezza
driver=sql;conopts=(driver=netezza;uid=myid2; pwd=mypwd2;server=mysrvr;database=mydb; catalog=(bcat={TEST}))
Option
|
Description
|
---|---|
CATALOG
|
CATALOG=catalog-identifier; Specifies an arbitrary
identifier for an SQL catalog, which groups logically related schemas.
Any identifier is valid.
Note: Table services automatically
quotes SQL identifiers that do not meet the regular naming convention
as defined in SAS FedSQL Reference Guide.
|
DATABASE
|
DATABASE=database—name; Identifies the database
to which you want to connect, which resides on the server previously
specified through the SERVER option.
|
DRIVER
|
DRIVER=NETEZZA ;
Specifies the data service
for the Netezza database to which you want to connect.
Note: You must specify the driver.
|
CONOPTS
|
CONOPTS=(ODBC—compliant
database connection string); Specifies an ODBC-compliant
database connection string using ODBC-style syntax. These options,
combined with the ODBC_DSN option, must specify a complete connection
string to the data source. If you include a DSN= or FILEDSN= specification
within the CONOPTS= option, do not use the ODBC_DSN= connection option.
However, you can specify the ODBC database-specific connection options
by using CONOPTS=. Then you can specify an ODBC DSN that contains
other connection information by using the ODBC_DSN= connection option.
|
DSN
|
DSN=data_source_identifer; Identifies the data
source name to which you want to connect.
|
SERVER
|
SERVER=server_name; Identifies the name
of the server where the Netezza database resides.
|
PORT
|
PORT=port_number Identifies the listen
port of the server where the Netezza database resides.
|