synapse workspace - serverless sql pool

arkiboys 9,646 Reputation points
2021-09-29T06:43:21.79+00:00

Hello,
Within the serverless sql pool, I have created sql scripts to run "select from loaded files...", i.e. openrowset queries.
Now that I have views using simple select queries, I would like to find out if there are any limitations to it in serverless sql pool in comparison to the actual sql script used in the sql server management studio. Alternatively, is there a website I can read about this?
Thank you

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,422 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 37,971 Reputation points Microsoft Employee
    2021-09-29T16:34:42.49+00:00

    Hi @arkiboys ,

    Thank you for posting query in Microsoft Q&A Platform.

    There is not much difference in terms of syntax of view creation in comparison with actual SQL script and SQL script in Synapse. Click here to know about CREATE VIEW in Azure Synapse Analytics in detail.

    But, there are some limitations with Views in Azure Synapse. Views in Synapse SQL are only stored as metadata. Consequently, the following options aren't available:

    • There isn't a schema binding option
    • Base tables can't be updated through the view
    • Views can't be created over temporary tables
    • There's no support for the EXPAND / NOEXPAND hints
    • There are no indexed views in Synapse SQL

    Click here to know about Views in Azure Synapse SQL.
    Click here to know about limitations of Views in Azure Synapse SQL.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful