Skip to content

Commit 3f71e49

Browse files
author
Matthew Sebolt
authored
Update sql-database-import.md
1 parent 0bebc5b commit 3f71e49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/sql-database/sql-database-import.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ $importStatus
121121

122122
Use the [az-sql-db-import](/cli/azure/sql/db#az-sql-db-import) command to submit an import database request to the Azure SQL Database service. Depending on database size, the import may take some time to complete.
123123

124-
```azure-cli
124+
```azurecli
125125
# get the storage account key
126-
az storage account keys list --resource-group "<resourceGroupName>" --account-name "<storageAccountName>"
126+
az storage account keys list --resource-group "<resourceGroup>" --account-name "<storageAccount>"
127127
128-
az sql db import --resource-group "<resourceGroupName>" --server "<serverName>" --name "<databaseName>" `
128+
az sql db import --resource-group "<resourceGroup>" --server "<server>" --name "<database>" `
129129
--storage-key-type "StorageAccessKey" --storage-key "<storageAccountKey>" `
130130
--storage-uri "https://myStorageAccount.blob.core.windows.net/importsample/sample.bacpac" `
131-
-u "<userId>" -p $(ConvertTo-SecureString -String "<password>" -AsPlainText -Force)
131+
-u "<userId>" -p "<password>"
132132
```
133133

134134
* * *

0 commit comments

Comments
 (0)