Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin the OneLake & Platform Admin teams for an ask US anything on July 16th. Join now.
Hi,
I'd like to know if Fabric SQL database supports the primary keys and the foreign keys for tables.
I hope that this is possible, otherwise for which reasons.
Thanks
Solved! Go to Solution.
Hi @pmscorca , Fabric SQL database supports primary keys/foreign keys and all other objects that you may be familiar in Azure SQL Database or SQL Server.
Hi @pmscorca ,
It supports primary key, please do check the limitations.
https://learn.microsoft.com/en-us/fabric/database/sql/limitations
Regards,
Srisakthi
Hi pmscorca,
Please check the below Microsoft documentation link:
SQL analytics endpoint and Warehouse in Microsoft Fabric support these table constraints:
If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too. And if you found it useful, a quick "Kudos" is always appreciated, thanks!
Best Regards,
Maruthi
Hi, but I'm referring to a Fabric SQL Database and not warehouse/lakehouse.
Thanks
Hi @pmscorca , Fabric SQL database supports primary keys/foreign keys and all other objects that you may be familiar in Azure SQL Database or SQL Server.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.