Synapse External Tables - Using a Schema?

Debbie Edwards 521 Reputation points
2023-10-26T08:46:01.42+00:00

I was wondering if you could create schemas for your External Tables on the serverless sql pool

E.g.

CREATE EXTERNAL TABLE [rawdata].[testdata] (

I get the following error

The specified schema name "rawdata" either does not exist or you do not have permission to use it.

So it feels like you can create a schema for an external table but I can't find any information as to how (Or if its something you can't do)

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,919 questions
{count} votes

Accepted answer
  1. Harishga 5,990 Reputation points Microsoft Vendor
    2023-10-26T10:12:02.5+00:00

    @Debbie Edwards

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
    Ask: Trying to create a schema for an external table on the serverless SQL pool in Azure Synapse Analytics. The error message they received indicates that the specified schema name either does not exist or they do not have permission to use it.
    Solution: Workspace. In the serverless SQL Pool I created. There is a schema folder. You can basically create new schema from here.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.