Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2022 04:24 AM
To write to Azure SQL you don't need to install the driver just use:
jdbcUrl = "jdbc:sqlserver://{0}:{1};database={2};user={3};password={4}".format(jdbcHostname, jdbcPort, jdbcDatabase, username, password)
(df
.write
.jdbc(jdbcUrl, "table_name"))
My blog: https://databrickster.medium.com/