question

arkiboys avatar image
0 Votes"
arkiboys asked ShaikMaheer-MSFT commented

synapse workspace - serverless sql pool

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @arkiboys ,

Just checking in to see if the below answer helped. If this answers your query, do click 130616-image.png and upvote 130671-image.png for the same. And, if you have any further query do let us know.

0 Votes 0 ·

1 Answer

ShaikMaheer-MSFT avatar image
0 Votes"
ShaikMaheer-MSFT answered ShaikMaheer-MSFT commented

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

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is it possible to upsert an existing view in serverless sql pool
It looks like it is not.

0 Votes 0 ·

Hi @arkiboys ,

As per limitations on views in Synapse SQL, you cannot update base tables through view. So may be its not possible. Feel free to open new thread to discuss on this more. Thank you.

0 Votes 0 ·