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
I am trying to mirror some tables from an Azure SQL database into Fabric.
This is the defintion of the source table:
When setting up the replication in the the 'Choose data' dialog I get the follow error for the specific table although the Id column is an int:
This table can't be mirrored to Fabric because the primary key column uses one of the following data types: computed types, user-defined types, geometry, geography, hierarchy ID, SQL variant, timestamp, datetime2(7), datetimeoffset(7) or time(7).
Please advise
@dawiej , this is a known limitation where certain datatypes used in a table as primary key cannot be mirrored. Link to public docs https://learn.microsoft.com/en-us/fabric/database/sql/mirroring-limitations#column-level
Also, there is a known issue where one of these data types is a unique key constraint that we plan to roll out the fix in couple of months.
Thanks @idrismotiwala for clearing that up. There is a unique constraint on that table that includes a datetimeoffset column.
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.