Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
pmscorca
Post Prodigy
Post Prodigy

Support for primary keys and foreign keys

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

1 ACCEPTED 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.

View solution in original post

4 REPLIES 4
Srisakthi
Super User
Super User

Hi @pmscorca ,

 

It supports primary key, please do check the limitations.

https://learn.microsoft.com/en-us/fabric/database/sql/limitations

 

Regards,

Srisakthi

maruthisp
Super User
Super User

Hi pmscorca,

Please check the below Microsoft documentation link:

Table constraints

SQL analytics endpoint and Warehouse in Microsoft Fabric support these table constraints:

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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors