I get the good old
Incorrect syntax near 'EXTERNAL'.
error. I am exactly doing what this answer describes. But SQL Server returns the aforementioned error when I come to this code-chunk:
CREATE EXTERNAL FILE FORMAT csvformat
WITH (
FORMAT_TYPE = DELIMITEDTEXT,
FORMAT_OPTIONS (FIELD_TERMINATOR =',')
);
GO
What am I doing wrong?
What I tried
- Java runtime environment is installed (Java 8 Update 201)
- PolyBase is installed with "PolyBase Query Service for External Data"
- I enabled PolyBase with
EXEC sp_configure 'hadoop connectivity', 4;
. I also set that option to1
and7
- I still get that error - Using
EXEC sp_configure
, I also set'polybase enabled'
to1
- I checked
SELECT SERVERPROPERTY ('IsPolybaseInstalled') AS IsPolybaseInstalled;
- it returns1
- My TCP is enabled
- My PolyBase is running:
Setup: SQL Server 2019 on a Virtual Machine (Azure), no Azure SQL Server or Azure DWH.