![]() ![]() Specify additional segments after the account locator. The account uses a different cloud provider, you need to If the account is in a different region or if Note that testodbc2 uses an account in the AWS US West (Oregon) region. Windows, Mac OS X, z/OS, whereas Teradata does not run on Mac OS X, z/OS. Testodbc2 uses the account locator xy12345 as the account identifier. Oracle and Teradata are both Relational Database Management Systems (RDBMS). Testodbc1 uses an account identifier that uses anĪccount identifier that specifies the account myaccount in the organization ![]() The following example illustrates an odbc.ini file that configures two data sources that use different forms of an For details about the parameters that can be set for each DSN, see ODBC Configuration and Connection Parameters. Parameters are specified in the form of =. import teradatasql After importing the teradatasql package, your Python script calls the nnect function to open a connection to the database. Any connection parameters you add to the DSN do not need to be specified in the ODBC connect string.Īny additional parameters, such as default role, database, and warehouse. Your Python script must import the teradatasql package in order to use the driver. ĭirectory path and name of the driver file, in the form of Driver = /opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib.Ĭonnection parameters, such as server and uid (user login name). If you are creating the first DSNįor the driver, you must manually create the odbc.ini file and add the entry to the file.ĭSN name and driver name (Snowflake), in the form of =. If a user or system DSN has already been created for the driver, add the new entry to the odbc.ini file that already exists in the corresponding directory for the type of DSN you are creating. Creating a DSN by Adding an Entry in the odbc.ini File ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |