Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello everyone,
if I create a SQL view in my warehouse, is there an option to review it's formula (from the view itself, not because I kept it somewhere else)? And in the same vein, can I edit it? All that I found so far indicates that both isn't possible, but I want to be sure, because it seems so impractical.
Thanks for any help!
Solved! Go to Solution.
Hi @NotebookEnjoyer,
You can use Download SQL database project to export a compressed copy of your entire Warehouse or Lakehouse and access all view definitions.
In addition to the solution suggested by @rizalard0684, another quick UI-based option is to use Query Activity (see screenshot). It shows all recently executed queries along with imp details like duration, run count, and success/failure status.
For scalability, I would recommend creating views via Stored Procedures (editing views would be much simpler, this way). Think of them as warehouse-specific pipelines. You can even manage multiple view definitions within a single stored procedure.
Hi @NotebookEnjoyer,
You can use Download SQL database project to export a compressed copy of your entire Warehouse or Lakehouse and access all view definitions.
In addition to the solution suggested by @rizalard0684, another quick UI-based option is to use Query Activity (see screenshot). It shows all recently executed queries along with imp details like duration, run count, and success/failure status.
For scalability, I would recommend creating views via Stored Procedures (editing views would be much simpler, this way). Think of them as warehouse-specific pipelines. You can even manage multiple view definitions within a single stored procedure.
In short @NotebookEnjoyer you are correct.
In Fabric Warehouse, there is no UI option to view or edit a SQL view’s definition directly from the object.
You can see the SQL definition only via T‑SQL (for example using sys.sql_modules or sp_helptext), and you can edit it only by running a new CREATE OR ALTER VIEW statement in the SQL editor.
There is no setting or permission you’re missing, I believe it’s a current platform limitation.
If this helped, please consider giving a Kudos or Mark my post as a solution!
This is the easiest way to do it, it is very much like the sql function alter view, here it is just combined.
Hi @NotebookEnjoyer,
Thank you for reaching out to Microsoft Fabric Community.
This is expected behaviour in the fabric warehouse. There is no UI option to view or edit an existing sql view definition. Views cannot be edited directly they must be recreated using CREATE OR ALTER VIEW. This is a current product limitation.
If this capability is important, please consider submitting your detailed feedback and ideas through Microsoft's official feedback channels. Feedback submitted through these channels is frequently reviewed by the product teams and can contribute to meaningful improvements.
Fabric Ideas - Microsoft Fabric Community
Thanks and regards,
Anjan Kumar Chippa
Hi @NotebookEnjoyer,
As we haven’t heard back from you, we wanted to kindly follow up to check if you have raised this in the ideas forum?
Thanks and regards,
Anjan Kumar Chippa
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 9 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |