title | description | ms.date | ms.topic | ms.service | ms.reviewer |
---|---|---|---|---|---|
Query Azure Blockchain Workbench data using SQL Server Management Studio |
Learn how to connect to Azure Blockchain Workbench's SQL Database from within SQL Server Management Studio. |
02/18/2022 |
how-to |
azure-blockchain |
mmercuri |
[!INCLUDE Retirement note]
Microsoft SQL Server Management Studio provides the ability to rapidly write and test queries against Azure Blockchain Workbench's SQL DB. This section contains a step-by-step walkthrough of how to connect to Azure Blockchain Workbench's SQL Database from within SQL Server Management Studio.
- Download SQL Server Management Studio.
-
Open the SQL Server Management Studio and select Connect.
-
Select Database Engine.
-
In the Connect to Server dialog, enter the server name and your database credentials.
If you are using the credentials created by the Azure Blockchain Workbench deployment process, the username is dbadmin and the password is the one you provided during deployment.
-
To view the data associated with any of the database views, you can automatically generate a select statement using the following steps.
-
Right-click any of the database views in the Object Explorer.
-
Select Script View as.
-
Choose SELECT to.
-
Select New Query Editor Window.
-
A new query can be created by selecting New Query.
[!div class="nextstepaction"] Database views in Azure Blockchain Workbench