Teradata / PyTd

A Python Module to make it easy to script powerful interactions with Teradata Database in a DevOps friendly way.
MIT License
108 stars 43 forks source link

Add database parameter #57

Closed sandan closed 7 years ago

sandan commented 7 years ago

This allows the user to specify a database to connect to. For example, there might be some database db1 in dbc. We'd like to connect to the user dbc but execute statements inside database db1 (to create tables for example.).

escheie commented 7 years ago

Hi Mark,

This change should not be necessary. You can set any ODBC connection string parameters simply by passing them to the connect method, they don't need to be declared. All **kwargs passed to the function are appended to the connection string.

Thanks, -Eric

sandan commented 7 years ago

You're right! I forgot about that.