This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Microsoft Fabric Eventhouse has expanded its SQL query federation capabilities by supporting query federation to more Tabular Data Stream (TDS) protocol endpoints, like Fabric data warehouses and SQL Analytical endpoints. Through the Create and Alter Azure SQL External Tables command, users can now connect to Fabric SQL Analytical endpoints and warehouses in addition to the previously supported Azure SQL Database, SQL Server, and other TDS-compatible databases.
While all data in Microsoft Fabric is stored in OneLake using the open Delta Parquet format, making it inherently accessible to all engines, this new capability enables seamless query federation to SQL endpoints, allowing organizations to leverage their existing SQL code investments, including functions and stored procedures.
SQL Logic Integration- Access your existing SQL business logic through views, including:
Example: Combining Real-Time Bike Station Data with Business Analytics
SQL_Endpoint_Connection_now_available_in_Microsoft_Fabric_Eventhouse
Let's demonstrate how to combine streaming bike station telemetry with business metrics to enable smart station management:
// Create external table for station business metrics
.create external table StationBusinessMetrics (
BikePointID: string,
TargetAvailability: double,
MaintenancePriority: int,
RevenuePerBike: decimal,
PeakHours: string,
StationOwner: string,
ServiceTier: string,
MonthlySubscribers: int
)
kind=sql
(@'Server=tcp:myserver.database.windows.net,1433;Authentication=Active Directory Integrated;Initial Catalog=mydatabase;')
with
(Table='dbo.usp_GetStationMetrics' // Stored procedure with business logic)
// Example query: Alert on high-priority stations with low bike availability
BikeStationTelemetry
| where TimeStamp > ago(15m)
| extend AvailabilityRate = todouble(No_Bikes) / todouble(No_Bikes + No_Empty_Docks) * 100
| lookup kind=inner StationBusinessMetrics on BikePointID
| where AvailabilityRate < TargetAvailability
| where MaintenancePriority <= 2 // High priority stations
| order by AvailabilityRate asc
In this sample, this integration enables leveraging stable, tested and heavily used business logic that resides in SQL servers and warehouses to deliver the below sample business value without rewriting, migration or duplicating logic:
To learn more refer to our documentation
We encourage you to try this and share your feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.