1

I'm trying to create an external table for data in Azure blob, and I have used the flow script

create table [Sales].Currency
(
    [CurrencyCode] [nchar](3) NOT NULL,
    [Name] [nchar](200) NOT NULL,
    [ModifiedDate] [datetime] NOT NULL  
)
with
(
    Location = '/samplefile/',
    data_source=currenytable,
    file_format=uncompressedData,
    reject_type=value,
    reject_value=0
);

when I execute this code I get the following error Parse error at line: 10, column: 13: Incorrect syntax near ''/samplefile/''. how to resolve this one thank you Note: I have successfully created all prior things for creating the external table

1 Answer 1

1

It is not as simple as a missing "EXTERNAL" statement.

You have:

create table [Sales].Currency

and it should be:

create EXTERNAL table [Sales].Currency
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.