You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to connect Microsoft Excel to a database in Azure SQL Database or Azure SQL Managed Instance. Import data into Excel for reporting and data exploration.
You can connect Excel to a database and then import data and create tables and charts based on values in the database. In this tutorial you will set up the connection between Excel and a database table, save the file that stores data and the connection information for Excel, and then create a pivot chart from the database values.
23
23
24
-
You'll need to create a database before you get started. If you don't have one, see [Create a database in Azure SQL Database](single-database-create-quickstart.md) and [Create server-level IP firewall](firewall-create-server-level-portal-quickstart.md) to get a database with sample data up and running in a few minutes.
24
+
You'll need to create a database before you get started. If you don't have one:
25
+
26
+
- You can [create a database in Azure SQL Database](single-database-create-quickstart.md) and [Create server-level IP firewall](firewall-create-server-level-portal-quickstart.md) to get a database with sample data up and running in a few minutes. Use the [Deploy Azure SQL Database for free](free-offer.md) to create a free Azure SQL Database for the life of your subscription.
27
+
- You can also [try Azure SQL Managed Instance for free](../managed-instance/free-offer.md).
28
+
- You can also [create a SQL database in Microsoft Fabric in the Fabric portal](/fabric/database/sql/create).
25
29
26
30
In this article, you'll import sample data into Excel from that article, but you can follow similar steps with your own data.
27
31
@@ -34,7 +38,11 @@ You'll also need a copy of Excel. This article uses [Microsoft Excel 2016](https
34
38
35
39
:::image type="content" source="media/connect-excel/excel-data-source.png" alt-text="Screenshot of the screen to Select data source: Connect Excel to SQL Database.":::
36
40
37
-
1. In the **SQL Server database** dialog box, type the **Server name** you want to connect to in the form `<servername>.database.windows.net`. Optionally, enter in the name of your database. Select **OK** to open the credentials window.
41
+
1. In the **SQL Server database** dialog box, type the **Server name** you want to connect to.
42
+
- In Azure SQL Database, this looks like: `<servername>.database.windows.net`.
43
+
- In Azure SQL Managed Instance, this looks like: `<your-instance-name>.<unique-dns-prefix>.database.windows.net`.
44
+
- In SQL database in Fabric, this looks like: `<server-unique-identifier>.<tenant>.fabric.microsoft.com`.
45
+
1. Optionally, enter in the name of your database. Select **OK** to open the credentials window.
38
46
1. In the **SQL Server database** dialog box, select **Database** on the left side, and then enter in your **User Name** and **Password** for the server you want to connect to. Select **Connect** to open the **Navigator**.
39
47
40
48
> [!TIP]
@@ -92,5 +100,4 @@ To save the connection details permanently, you can create an .odc file and make
92
100
## Related content
93
101
94
102
-[Quickstart: Use SSMS to connect to and query Azure SQL Database or Azure SQL Managed Instance](connect-query-ssms.md)
95
-
-[Elastic pools](elastic-pool-overview.md)
96
-
-[create a web application that connects to Azure SQL Database on the back-end](/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase)
103
+
-[Create a web application that connects to Azure SQL Database on the back-end](/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase)
0 commit comments