Use the CData ODBC Driver for SQL Server from SharePoint Excel Services
This article demonstrates how to use the CData ODBC Driver for SQL Server to connect to Microsoft SQL Server from Excel in on-premises editions of SharePoint. This technique allows SharePoint users to create reports, scorecards, and dashboards featuring Microsoft SQL Server in Excel.