1. Download and install
- TheODBC Driver for Teradata64-bit
- TheOLE DB Provider for ODBC64-bit if it is not included inyour OS. You can use the steps in the"Test the ODBC Data Source" section to see a list of OLE DB Providers currently installed on your server.
2. Create an ODBC Data Source
- Start theODBC Data Source Administrator
- SelectSystem DSN. User DSN will not work because SQL Server service will not have access to the User DSNs.
- ClickAdd ...button
- SelectTeradataODBC driver
- Fill in the required fields in theODBC Driver Setup for Teradata Databasedialog box
3. Test the ODBC Data Source
- StartWindows Explorer
- Navigate to a temporary directory
- Right-Click and select "New" - > "Text Document"
- Change the file extension toUDL(for example Foo.UDL)
- Double-Click the file to display theData Link Propertiesdialog box
- Select theProvidertab
- Select theMicrosoft OLE DB Provider for ODBC Drivers
- Select the Connection tab
- SelectUse data source nameradio button
- Select the Data Source created in the previous section
- Specify a Teradata User ID
- Specify a Password
- Click theTest Connectionbutton
4. Create a SQL Server Linked Server Object
- StartSQL Server Management Studio
- Expand Server Objects
- Expand Linked Servers
- Expand Providers
- Make Sure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)is installed on the server
- Right Click on Linked Servers
- Select New Linked Server...
- Assign a name to the Linked Server; I suggest asingle word name likeTD.
- SelectMicrosoft OLE DB Provider for ODBC Drivers
- Set the Product Name to Teradata Database.
- Set the Data Source to the ODBC DSN Name created in section 2 above.
- SelectSecurity page
- SelectBe made using this security context
- Set the Remote login field to the Teradata Database User Id
- Set the With password field to the Teradata Database Password
- Click OK button
5. Test the new Linked Server
- Open a New Query
- Execute a SELECT statement using a 4 part name (LinkedServerName..DatabaseName.TableName).
- The Linked Server Name crated in step 3 above.
- The Teradata Database does not support Catalog; leave it blank.
- TheDatabase Name
- The Table Name
1 / Select* fromTD..NorthwindEF.Customers