Files
sql-server-samples/samples/features/sql-big-data-cluster/data-virtualization/external-table-oracle.md
T
Umachandar Jayachandran 09b207f69a Initial samples for SQL Server 2019 big data cluster
Demonstrates various functionality in big data cluster.
2018-10-11 14:48:44 -07:00

864 B

Query data in Oracle from SQL Server master

Create external table over an Oracle database by leveraging SQL Server Polybase technology. SQL Server Big Data clusters can query external data sources without importing the data in SQL Server. SQL Server 2019 introduces new connectors to data sources like Oracle, MongoDB and Teradata. In this example, you are going to create an external table in SQL Server Master instance over the inventory table that sits on an Oracle server.

Before you begin, you need to have an Oracle instance and credentials. Execute the SQL script inventory-ora.sql in Oracle to create the table and import the "inventory.csv" file created by the bootstrap sample database.

Instructions

  1. Connect to SQL Server Master instance.

  2. Execute the SQL external-table-oracle.sql.