Skip to content

Commit 4d4d466

Browse files
committed
update
1 parent fc47955 commit 4d4d466

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/pipelines/targets/azure-sqldb.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ When you set up a release pipeline, choose **Start with an Empty process**, link
199199
200200
1. Use the [PowerShell](/azure/devops/pipelines/tasks/reference/powershell-v2) task to invoke SQLCMD and execute your scripts. Add the following inline script to your task:
201201
202-
```dotnetcli
202+
```PowerShell
203203
Invoke-Sqlcmd -InputFile $(SQLFile) -ServerInstance $(ServerFqdn) -Database $(DatabaseName) -Username $(AdminUser) -Password $(AdminPassword)
204204
```
205205

206206
1. Use another [Azure PowerShell](/azure/devops/pipelines/tasks/reference/azure-powershell-v5) task to remove the firewall rule in Azure.
207207

208-
:::image type="content" source="media/classic-sql.png" alt-text="A screenshot showing a classic pipeline to run SQL script.":::
208+
:::image type="content" source="media/sql-add-firewall-rules.png" alt-text="A screenshot displaying a classic pipeline to add firewall rules and run SQL scripts.":::
209209

210210
* * *
211211

Loading

0 commit comments

Comments
 (0)