I created an external table in toad with the following code and it is working.
/*External table query*/
--AUTHID CURRENT_USER is
CREATE DIRECTORY ext1 AS 'E:\outer source'
create table countries_external3
(country_id varchar2(5),
country_name varchar2(50),
region_id varchar2(5)
)
organization external
(type oracle_loader
default directory ext1
access parameters
(records delimited by newline
fields terminated by ','
(country_id char(5),
country_name char(50),
region_id char(5)
)
)
location ('externalfile1.csv')
)
reject limit unlimited;
select * from countries_external
/*External end here*/
But now I want to create an external table in SQL server. I have searched online and found out some polybase term which I could not understand. Right now I am using SQL server 2014. Can I create an external table in SQL server 2014?