Microsoft has been open-sourcing a lot lately, but it seems to be mostly "peripheral" software...
The JDBC driver can be used to connect to SQL anywhere. Use it to connect to SQL Server (on-prem or in the cloud), Azure SQL Database, and Azure SQL Data Warehouse.
...associated with the use of their commercial products.