Skip to content

Commit b45eb6e

Browse files
Merge pull request #209067 from SnehaGunda/PRs
Adding servername format example
2 parents 5134fd4 + 00b1c6f commit b45eb6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/synapse-analytics/spark/data-sources/apache-spark-sql-connector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This article covers how to use the DataFrame API to connect to SQL databases usi
2424
In this example, we will use the Microsoft Spark utilities to facilitate acquiring secrets from a pre-configured Key Vault. To learn more about Microsoft Spark utilities, please visit [introduction to Microsoft Spark Utilities](../microsoft-spark-utilities.md).
2525

2626
```python
27+
# The servername is in the format "jdbc:sqlserver://<AzureSQLServerName>.database.windows.net:1433"
2728
servername = "<< server name >>"
2829
dbname = "<< database name >>"
2930
url = servername + ";" + "databaseName=" + dbname + ";"

0 commit comments

Comments
 (0)