Hello @Ankit Kumar ,
Thanks for the question and using MS Q&A platform.
As we understand the ask here is can we create a view in lake database . Let me know if thats not accurate .
If you try to create a view on a lake database I was getting the below error .
Operation CREATE/ALTER VIEW is not allowed for a replicated database
You cannot create a view in a lake database and I could suggest you to please log a feedback at https://feedback.azure.com/d365community/forum/9b9ba8e4-0825-ec11-b6e6-000d3a4f07b8# . If you log a feature , I request you to please share that here for other users looking for same / similar asks .
I can suggest you a workaround ,The lake database is just reading all the data from a blob which is seating in a storage ( when you create a lake database you do that ) , so in place of looking for a view we can create a external table which points to the blob file and that should help out .
The below links should be helpful .Once you have the external tables you can join them to get more meaningful insights .
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/develop-tables-external-tables?tabs=hadoop
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/load-data-overview
Please do let me if you have any queries.
Thanks
Himanshu
- Please don't forget to click on
or upvote
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