mssql-python 1.0.0__cp314-cp314-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. mssql_python/__init__.py +307 -0
  2. mssql_python/auth.py +222 -0
  3. mssql_python/connection.py +1493 -0
  4. mssql_python/connection_string_builder.py +113 -0
  5. mssql_python/connection_string_parser.py +381 -0
  6. mssql_python/constants.py +509 -0
  7. mssql_python/cursor.py +2601 -0
  8. mssql_python/db_connection.py +53 -0
  9. mssql_python/ddbc_bindings.cp314-amd64.pyd +0 -0
  10. mssql_python/ddbc_bindings.py +137 -0
  11. mssql_python/exceptions.py +574 -0
  12. mssql_python/helpers.py +357 -0
  13. mssql_python/libs/LICENSING +19 -0
  14. mssql_python/libs/linux/alpine/arm64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  15. mssql_python/libs/linux/alpine/arm64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  16. mssql_python/libs/linux/alpine/arm64/lib/libodbcinst.so.2 +0 -0
  17. mssql_python/libs/linux/alpine/arm64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  18. mssql_python/libs/linux/alpine/x86_64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  19. mssql_python/libs/linux/alpine/x86_64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  20. mssql_python/libs/linux/alpine/x86_64/lib/libodbcinst.so.2 +0 -0
  21. mssql_python/libs/linux/alpine/x86_64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  22. mssql_python/libs/linux/debian_ubuntu/arm64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  23. mssql_python/libs/linux/debian_ubuntu/arm64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  24. mssql_python/libs/linux/debian_ubuntu/arm64/lib/libodbcinst.so.2 +0 -0
  25. mssql_python/libs/linux/debian_ubuntu/arm64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  26. mssql_python/libs/linux/debian_ubuntu/x86_64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  27. mssql_python/libs/linux/debian_ubuntu/x86_64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  28. mssql_python/libs/linux/debian_ubuntu/x86_64/lib/libodbcinst.so.2 +0 -0
  29. mssql_python/libs/linux/debian_ubuntu/x86_64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  30. mssql_python/libs/linux/rhel/arm64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  31. mssql_python/libs/linux/rhel/arm64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  32. mssql_python/libs/linux/rhel/arm64/lib/libodbcinst.so.2 +0 -0
  33. mssql_python/libs/linux/rhel/arm64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  34. mssql_python/libs/linux/rhel/x86_64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  35. mssql_python/libs/linux/rhel/x86_64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  36. mssql_python/libs/linux/rhel/x86_64/lib/libodbcinst.so.2 +0 -0
  37. mssql_python/libs/linux/rhel/x86_64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  38. mssql_python/libs/linux/suse/x86_64/lib/libmsodbcsql-18.5.so.1.1 +0 -0
  39. mssql_python/libs/linux/suse/x86_64/lib/libodbcinst.so.2 +0 -0
  40. mssql_python/libs/linux/suse/x86_64/share/resources/en_US/msodbcsqlr18.rll +0 -0
  41. mssql_python/libs/macos/arm64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  42. mssql_python/libs/macos/arm64/lib/libltdl.7.dylib +0 -0
  43. mssql_python/libs/macos/arm64/lib/libmsodbcsql.18.dylib +0 -0
  44. mssql_python/libs/macos/arm64/lib/libodbc.2.dylib +0 -0
  45. mssql_python/libs/macos/arm64/lib/libodbcinst.2.dylib +0 -0
  46. mssql_python/libs/macos/arm64/share/doc/msodbcsql18/LICENSE.txt +101 -0
  47. mssql_python/libs/macos/arm64/share/doc/msodbcsql18/RELEASE_NOTES +465 -0
  48. mssql_python/libs/macos/arm64/share/msodbcsql18/resources/en_US/msodbcsqlr18.rll +0 -0
  49. mssql_python/libs/macos/x86_64/lib/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  50. mssql_python/libs/macos/x86_64/lib/libltdl.7.dylib +0 -0
  51. mssql_python/libs/macos/x86_64/lib/libmsodbcsql.18.dylib +0 -0
  52. mssql_python/libs/macos/x86_64/lib/libodbc.2.dylib +0 -0
  53. mssql_python/libs/macos/x86_64/lib/libodbcinst.2.dylib +0 -0
  54. mssql_python/libs/macos/x86_64/share/doc/msodbcsql18/LICENSE.txt +101 -0
  55. mssql_python/libs/macos/x86_64/share/doc/msodbcsql18/RELEASE_NOTES +465 -0
  56. mssql_python/libs/macos/x86_64/share/msodbcsql18/resources/en_US/msodbcsqlr18.rll +0 -0
  57. mssql_python/libs/windows/x64/1033/msodbcsqlr18.rll +0 -0
  58. mssql_python/libs/windows/x64/MICROSOFT_ODBC_DRIVER_FOR_SQL_SERVER_LICENSE.txt +76 -0
  59. mssql_python/libs/windows/x64/MICROSOFT_VISUAL_STUDIO_LICENSE.txt +54 -0
  60. mssql_python/libs/windows/x64/msodbcdiag18.dll +0 -0
  61. mssql_python/libs/windows/x64/msodbcsql18.dll +0 -0
  62. mssql_python/libs/windows/x64/mssql-auth.dll +0 -0
  63. mssql_python/logging.py +610 -0
  64. mssql_python/mssql_python.pyi +375 -0
  65. mssql_python/msvcp140.dll +0 -0
  66. mssql_python/pooling.py +125 -0
  67. mssql_python/row.py +194 -0
  68. mssql_python/type.py +143 -0
  69. mssql_python-1.0.0.dist-info/METADATA +76 -0
  70. mssql_python-1.0.0.dist-info/RECORD +73 -0
  71. mssql_python-1.0.0.dist-info/WHEEL +5 -0
  72. mssql_python-1.0.0.dist-info/licenses/LICENSE +47 -0
  73. mssql_python-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,465 @@
1
+ ChangeLog (Release Notes)
2
+
3
+ 18.5.1.1 - 2025-03-17
4
+
5
+ Fixed:
6
+ - Fix connection recovery to obtain the active primary node when a server moves.
7
+ - Fix crashes under low-memory conditions.
8
+
9
+ Added:
10
+ - Expose Packet Size as a connection string option.
11
+ - Support macOS 15
12
+ - Support Azure Linux 3.0
13
+ - Support Alpine Linux 3.20
14
+ - Support Oracle Linux 9
15
+
16
+
17
+ 18.4.1.1 - 2024-07-31
18
+
19
+ Fixed:
20
+ - Fix crashes when receiving invalid data from server
21
+ - Fix sending of null data for fixed-length types using DAE
22
+ - Fix 10-minute delay upon disconnection after timeout
23
+ - Fix memory leak upon disconnection when an error occurs
24
+ - Fix memory leak upon reconnection with Strict encryption
25
+ - Fix intermittent crash when connecting with Strict encryption and TLS 1.3
26
+ - Fix crashes under low-memory conditions
27
+
28
+ Added:
29
+ - Option to accept EULA via the presence of a file
30
+ - Renamed Azure Active Directory to Microsoft Entra ID
31
+ - Support Ubuntu 24.04
32
+ - Support Alpine 3.19
33
+
34
+
35
+ 18.3.3.1 - 2024-04-09
36
+
37
+ Fixed:
38
+ - Fix crashes when receiving invalid data from server
39
+ - Fix infinite loop when receiving invalid data from server
40
+ - Fix App Service Containers MSI Authentication
41
+
42
+ 18.3.2.1 - 2023-10-10
43
+
44
+ Fixed:
45
+ - Fix crashes when receiving invalid data from server
46
+ - Fix infinite loop when receiving invalid data from server
47
+ - Fix a crash when attempting to connect under low-memory conditions
48
+
49
+
50
+ 18.3.1.1 - 2023-07-31
51
+
52
+ Fixed:
53
+ - Setting of Data Classification Version connection attribute
54
+
55
+ Added:
56
+ - Improved performance via more efficient packet buffer memory allocation
57
+ - Add support for Managed Identity (MSI) Authentication for Azure Arc and Azure
58
+ Cloudshell and updated to a newer Azure App Service API version
59
+ - Support Ubuntu 23.04
60
+ - Support Alpine 3.17 and 3.18
61
+
62
+ 18.2.2.1 - 2023-06-13
63
+
64
+ Fixed:
65
+ - Fix a crash when retrieving data with AutoTranslate option off
66
+ - Fix partial writes on Linux in presence of signals
67
+ - Fix crashes when receiving invalid data from server
68
+ - Fix memory leak when processing encrypted columns
69
+ - Fix errors with long enclave queries
70
+
71
+ 18.2.1.1 - 2023-01-31
72
+
73
+ Fixed:
74
+ - Fix VBS-NONE enclave attestation protocol
75
+ - Fix error when retrieving numeric column with Regional=Yes
76
+ - Fix intermittent lack of error when server is stopped during bcp out operation
77
+ - Fix error when stored procedure call contains unquoted string parameter
78
+ - Fix a memory leak upon reconnect
79
+
80
+ Added:
81
+ - Add original and redirected server names to connect errors
82
+ - Support Ubuntu 22.10
83
+ - Support macOS 13
84
+ - Support Alpine 3.16
85
+
86
+ 18.1.2.1 - 2022-11-03
87
+
88
+ Fixed:
89
+ - Fix VBS-NONE enclave attestation protocol
90
+ - Fix error when retrieving numeric column with Regional=Yes
91
+ - Fix intermittent lack of error when server is stopped during bcp out operation
92
+ - Fix error when stored procedure call contains unquoted string parameter
93
+
94
+
95
+ 18.1.1.1 - 2022-08-05
96
+
97
+ Fixed:
98
+ - Fix polling for first successful connection with MultiSubnetFailover
99
+ - Fix connecting with Strict and non-Strict encryption modes simultaneously
100
+ - Allow Azure Active Directory authentication with Strict encryption mode
101
+ - Fix idle connection resiliency reconnection when using Kerberos authentication
102
+ - Fix rare hang when using SQLBulkOperations in async mode
103
+
104
+ Added:
105
+ - Configurable retry of query execution
106
+ - Configurable preference of IPv4 or IPv6
107
+ - VBS-NONE enclave attestation protocol
108
+ - Wildcard matching of HostnameInCertificate
109
+ - Exact match for server certificate with ServerCertificate keyword
110
+ - TrustedConnection_UseAAD keyword controls use of Kerberos or Azure Active Directory
111
+ authentication modes
112
+ - Support TDS 8.0 ALPN
113
+ - Support TLS 1.3 (when using TDS 8.0)
114
+ - Support Ubuntu 22.04
115
+ - Support RedHat 9
116
+ - Support ARM64 Linux platforms: Debian 11, RedHat 8 and 9, Ubuntu 18.04, 20.04, 22.04
117
+
118
+
119
+ 18.0.1.1 - 2022-02-15
120
+
121
+ Fixed:
122
+ - Reduce excessive stack consumption when retrieving diagnostic records
123
+ - Fix Azure Active Directory Interactive authentication to re-prompt after the user
124
+ cancels the first dialog and a cached token already exists (Windows)
125
+ - More compatible federation metadata parsing
126
+ - Fix automatic idle reconnection when using Azure Active Directory authentication modes
127
+ - Remove database version check when using XA DTC to support SQL Managed Instance
128
+
129
+ Added:
130
+ - Compatibility with OpenSSL 3.0
131
+ - Ability to send long types as max types
132
+ - Support for TDS8
133
+ - Compatibility extensions for SQLGetData
134
+ - Support Debian 11
135
+ - Support Ubuntu 21.10
136
+ - Support macOS 12
137
+
138
+
139
+ 17.8.1.1 - 2021/07/30
140
+
141
+ Fixed:
142
+ - Fix for restrictions on connection string regarding usage of UID and PWD keywords
143
+ - Fix issue with having multiple connections with different AKV credentials
144
+
145
+ Added:
146
+ - Replication option added to the connection string
147
+ - KeepAlive and KeepAliveInterval options added to the connection string
148
+ - Support Ubuntu 21.04
149
+ - Support Alpine 3.13
150
+
151
+ 17.7.2.1 - 2021-03-10
152
+
153
+ Fixed:
154
+ - Fix issue with 404 Not Found errors when using Managed Service Identity authentication
155
+ - Fix for intermittent Encryption Not Supported errors under high multithreaded loads
156
+ - Fix for intermittent crash under high multithreaded loads
157
+
158
+ 17.7.1.1 - 2021/01/31
159
+
160
+ Fixed:
161
+ - Fix character encoding of VARIANT columns in BCP NATIVE mode
162
+ - Fix setting of SQL_ATTR_PARAMS_PROCESSED_PTR under specific conditions
163
+ - Fix SQLDescribeParam in FMTONLY mode for statements containing comments
164
+ - Fix an issue with federated authentication when using Okta
165
+ - Fix excessive memory usage on multi-processor systems
166
+ - Fix Azure AD authentication for some variants of Azure SQL DB
167
+
168
+ Added:
169
+ - Ability to insert into encrypted money and smallmoney columns
170
+ - Azure AD Interactive Authentication to Azure Key Vault
171
+ - Azure AD Service Principal Authentication to Azure SQL
172
+ - Trusted endpoints for Managed HSM Azure Key Vault
173
+ - Performance improvements when inserting data
174
+ - Support for installation with MacPorts package manager
175
+ - Support Oracle Linux 7
176
+ - Support Ubuntu 20.10
177
+ - Support macOS 11.0
178
+
179
+ 17.6.1.1 - 2020/07/31
180
+
181
+ Known Issues:
182
+ - Integrated authentication with Azure AD is subject to system library limitations; see the documentation for details
183
+
184
+ Fixed:
185
+ - Fix dependency version of libc6 on Ubuntu/Debian to increase portability
186
+ - Added additional definitions for BCP to msodbcsql.h
187
+
188
+ Added:
189
+ - Caching of encryption metadata for prepared statements
190
+ - Connection attribute SQL_COPT_SS_AUTOBEGINTXN to control automatically beginning a transaction after ending a previous one
191
+ - Support for federated account authentication with Azure AD
192
+ - Support for Big5 and GB locales
193
+ - Support authentication with Managed Identity for Azure App Service
194
+ - Support for TLS SNI
195
+ - Support Ubuntu 20.04
196
+
197
+ 17.5.2.2 - 2020/04/20 (Alpine Linux only)
198
+
199
+ Known Issues:
200
+
201
+ Fixed:
202
+ - Fix a crash when using Always Encrypted with Secure Enclaves on Alpine Linux
203
+
204
+ Added:
205
+
206
+ 17.5.2.1 - 2020/03/03
207
+
208
+ Known Issues:
209
+
210
+ Fixed:
211
+ - Added msodbcsql.h to Alpine Linux package
212
+
213
+ Added:
214
+ - Support authentication with Managed Identity for Azure Key Vault
215
+
216
+ 17.5.1.1 - 2020/01/31
217
+
218
+ Known Issues:
219
+ - Due to system library limitations, Alpine Linux supports fewer character encodings and locales
220
+
221
+ Fixed:
222
+ - Fix AKV CMK metadata hash computation on Linux/Mac
223
+ - Fix error when loading OpenSSL 1.0.0
224
+ - Fix conversion issues when using ISO-8859-1 and ISO-8859-2 codepages
225
+ - Fix internal library name on Mac to include version number
226
+ - Fix setting of null indicator when separate length and indicator bindings are used
227
+
228
+ Added:
229
+ - SQL_COPT_SS_SPID connection attribute to retrieve SPID without round-trip to server
230
+ - Support for indicating EULA acceptance via debconf on Debian/Ubuntu
231
+ - Support Alpine Linux (3.10, 3.11)
232
+ - Support Oracle Linux 8
233
+ - Support Ubuntu 19.10
234
+ - Support macOS 10.15
235
+
236
+ 17.4.2.1 - 2019/09/19
237
+
238
+ Known Issues:
239
+
240
+ Fixed:
241
+ - Fix for an issue where process ID and application name would not be sent correctly to SQL Server (for sys.dm_exec_sessions analysis)
242
+ - Removed redundant dependency on libuuid
243
+ - Fix for a bug with sending UTF8 data to SQL Server 2019
244
+ - Fix for a bug where locales that end in "@euro" were not being correctly detected
245
+ - Fix for XML data being returned incorrectly when fetched as an output parameter while using Always Encrypted
246
+
247
+ Added:
248
+ - Support for additional Azure Key Vault endpoints: vault.azure.cn, vault.usgovcloudapi.net, vault.microsoftazure.de
249
+ - Support for setting data classification version
250
+
251
+ 17.4.1.1 - 2019/07/17
252
+
253
+ Known Issues:
254
+
255
+ Fixed:
256
+ - Fix for intermittent hang when Multiple Active Results Sets (MARS) is enabled
257
+ - Fix connection resiliency hang when async notification is enabled
258
+ - Fix crash when retrieving diagnostic records for multithreaded connection attempts
259
+ - Fix 'Encryption not supported' upon reconnect after calling SQLGetInfo() with SQL_USER_NAME and SQL_DATA_SOURCE_READ_ONLY
260
+ - Fix COM initialization error during Azure Active Directory Interactive Authentication
261
+ - Fix SQLGetData() for multi-byte UTF8 data
262
+ - Fix retrieving length of sql_variant columns using SQLGetData()
263
+ - Fix importing of sql_variant columns containing more than 7992 bytes using bcp
264
+ - Fix sending of correct encoding to server for narrow character data
265
+
266
+ Added:
267
+ - Support Always Encrypted with Secure Enclaves
268
+ - Support dynamic loading of OpenSSL
269
+ - Support insertion of UTF8 data for SQL Server 2019
270
+ - Support configurable TCP Keep Alive settings
271
+ - Support Debian 10
272
+ - Support RedHat 8
273
+ - Support Ubuntu 19.04
274
+ - Support connecting to named instances on Linux and Mac
275
+
276
+ 17.3.1.1 - 2019/02/15
277
+
278
+ Known Issues:
279
+
280
+ Fixed:
281
+ - Fix for detection of the current environment locale
282
+ - Fix AE streaming encryption for short data values
283
+ - Fix use-after-free for encrypted DAE parameters
284
+ - Fix race conditions with multiple threads and sending data.
285
+ - Fix SQLNumResultCols when SQLExecute returns SQL_NO_DATA_FOUND
286
+ - Fix infinite loop in comment parsing
287
+
288
+ Added:
289
+ - Support Azure Active Directory Managed Service Identity (system and user-assigned) authentication mode
290
+ - Support SuSE 15
291
+ - Support Ubuntu 18.10
292
+ - Support macOS 10.14
293
+ - Minor optimizations
294
+
295
+ 17.3.0.1 - 2018/09/07
296
+
297
+ Known Issues:
298
+
299
+ Fixed:
300
+ - Fix for tcp send notification event handle memory leak
301
+ - Fix redefinition issue of enum _SQL_FILESTREAM_DESIRED_ACCESS in msodbcsql.h header file
302
+ - Fix missing ACCESS_TOKEN and AUTHENTICATION related definition in msodbcsql.h header file for Linux and MAC
303
+
304
+ Added:
305
+ - Support AE input parameter streaming
306
+ - Support XA DTC
307
+
308
+ 17.2.0.1 - 2018/06/20
309
+
310
+ Known Issues:
311
+
312
+ Fixed:
313
+ - Fix Error Message about Azure Active Directory Authentication
314
+ - Fix encoding detection when locale environment variables are set differently
315
+ - Fix crash upon disconnect with connection recovery in progress
316
+ - Fix detection of connection liveness
317
+ - Fix incorrect detection of closed sockets
318
+ - Fix the infinite wait when attempting to release a statement handle during failed recovery.
319
+
320
+ Added:
321
+ - Support Ubuntu 18.04
322
+ - Change the dependency to dynamic libcurl loading
323
+ The libcurl for OpenSSL or NSS is required when using the Azure Key Vault or Azure Active Directory authentication.
324
+ Manually install libcurl if it is not with the system by default.
325
+ - Support Idle Connection Resiliency with ConnectRetryCount and ConnectRetryInterval keywords in connection string:
326
+ Use the SQL_COPT_SS_CONNECT_RETRY_COUNT (read only) connection attribute to retrieve the number of connection retry attempts.
327
+ Use the SQL_COPT_SS_CONNECT_RETRY_INTERVAL (read only) connection attribute to retrieve the length of the connection retry interval.
328
+ Connection will be retried at least once by default.
329
+ - Support UTF8 server encoding
330
+ - Support Data Classification feature on Azure SQL Database and SQL Server
331
+ - Support SQLBrowseConnect
332
+
333
+ 17.1.0.1 - 2018/04/06
334
+
335
+ Known Issues:
336
+ None
337
+
338
+ Fixed:
339
+ - Fixed 1-second delay when calling SQLFreeHandle with MARS enabled and connection attribute "Encrypt=yes"
340
+ - Fixed truncated ADAL error messages
341
+ - Fixed an issue where inserting double into decimal field with Always Encrypted on would return data truncation error
342
+ - Fixed a warning on MacOS installer
343
+
344
+ Added:
345
+ - Support for SQL_COPT_SS_CEKCACHETTL and SQL_COPT_SS_TRUSTEDCMKPATHS connection attributes
346
+ SQL_COPT_SS_CEKCACHETTL Allows controlling the time that the local cache of Column Encryption Keys exists, as well as flushing it
347
+ SQL_COPT_SS_TRUSTEDCMKPATHS Allows the application to restrict AE operations to only use the specified list of Column Master Keys
348
+
349
+ - Support for loading the .rll from default location
350
+
351
+ 17.0.1.0 - 2017/01/16
352
+ Known Issues:
353
+ None
354
+
355
+ Fixed:
356
+ Fixed SQLGetData for encrypted varbinary(max) returned data only on first call
357
+ Conversions to persian collation in column scenarios appears to result in data corruption.
358
+ Data corruption when streaming UTF-16 or UTF-8 using SQLPutData with split octets or surrogate pairs
359
+ With async notifications enabled, driver unable to recover from failure (Windows)
360
+ High cpu consumption when ODBC async execution mode is enabled (Windows)
361
+ Occasional crash during ODBC shutdown when async execution mode is enabled (Windows)
362
+
363
+ Added:
364
+ Performance improvement for when ODBC async execution mode is enabled
365
+
366
+ 17.0.0.5 - 2017/12/20
367
+
368
+ Known Issues:
369
+ - macOS: Homebrew now filters out user set environment variables. You can now install the ODBC driver on macOS using the
370
+ following command line:
371
+ HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install --no-sandbox msodbcsql
372
+
373
+ Fixed:
374
+ - Parameters bound with any convertable C type with the same precision & scale as a numeric/decimal column are now
375
+ correctly converted to the appropriate numeric type with the specified precision and scale, and execute successfully
376
+ instead of erroring our with Operand Type Clash.
377
+ - Screen reader usability improvements in DSN Wizard and Login Dialog
378
+ - Encrypted numeric/decimal values now correctly normalize negative zeros
379
+ - Hebrew data (varchar) is no longer chopped when returned as wide chars on Linux platforms
380
+ - Fixed Invalid Descriptor Index error when using unencrypted XML column with AE in some scenarios
381
+ - Fixed function sequence error when using DAE, SqlPutData, and AE
382
+ - ODBC Driver on Windows now links directly to secur32.dll, instead of indirectly through security.dll
383
+
384
+ Added:
385
+ - Support for macOS High Sierra
386
+ - Support for Ubuntu 17.10
387
+ - Always Encrypted support for BCP API
388
+ - Greater than 10x performance improvement when driver converts to/from UTF-8/16.
389
+ - New connection string attribute UseFMTOnly causes driver to use legacy metadata in special cases requiring temp tables.
390
+
391
+ --------------------------------------------------------------------------------
392
+
393
+ 17.0.0.1 - 2017/10/06
394
+
395
+ Known Issues:
396
+ None
397
+
398
+ Fixed:
399
+ msodbcsql.h - Missing types and constants were added to Linux/Mac header
400
+ CP1252 encoded files over 32MB were failing to import correctly with bcp on Linux. This has been fixed.
401
+ Resolved an issue in Linux where system time changes could result in incorrect timeouts in the driver
402
+ macOS - SQLGetInfo with SQL_DRIVER_NAME retruns .so value instead of .dylib
403
+
404
+ Added:
405
+ Support for Debian 9
406
+ Improved performance of driver character conversion from utf16
407
+ Changed narrow functions of ODBC API to be sensitive to platform encoding, and not assume UTF-8. Wide encoding is expected to be UTF-16LE
408
+ Removed Microsoft online service sign-in assistant check in ODBC driver for Windows
409
+
410
+ --------------------------------------------------------------------------------
411
+
412
+ 13.1.9.0 - 2017/06/14
413
+
414
+ Known Issues:
415
+ None
416
+
417
+ Fixed:
418
+ #10274176: DSN Wizard Help does not load CHM
419
+ #10034310: Fix buffer overrun upon UTF-8 character conversion - Now fully supports UTF-8
420
+
421
+ Added:
422
+ Support for Ubuntu 14.04.
423
+ Configurable driver location on Linux. Simply copy the whole driver install directory to the location of your choice after normal installation.
424
+ You must manually update the ODBCINST.INI file with the new location.
425
+
426
+
427
+ --------------------------------------------------------------------------------
428
+
429
+ 13.1.8.0 - 2017/05/18
430
+
431
+ Known Issues:
432
+ - Due to the buffer overrun fix (#10034310, see below), UTF-8 non-ASCII
433
+ characters may cause column truncation after conversion to UTF-16. In
434
+ particular, use of SQLBulkOperations with column bindings may cause
435
+ this to occur. A future release will fully support UTF-8. See
436
+ https://docs.microsoft.com/en-us/sql/connect/odbc/linux/known-issues-in-this-version-of-the-driver
437
+ for more information.
438
+
439
+ Fixed:
440
+ #10059224: Floating-point numbers formatted incorrectly in French locale
441
+ #10144395: SQLBindParameter input/output parameters may truncate prematurely
442
+ #10060645: Implicit cursor conversion due to comments
443
+ #10034310: Fix buffer overrun upon UTF-8 character conversion
444
+ #1080065: Fixed symbolic link creation for the RPM package
445
+
446
+ Added:
447
+ Support for SuSE 11 SP4 and Ubuntu 17.04.
448
+
449
+ --------------------------------------------------------------------------------
450
+
451
+ 13.1.7.0 - 2017/04/11
452
+ Preview Release with support for OS X 10.11 (El Capitan), macOS 10.12 (Sierra), RedHat 6, RedHat 7, Suse 12, Debian 8
453
+ and Ubuntu 15.10, 16.04, and 16.10
454
+
455
+ Known Issues:
456
+ No new known issues. https://docs.microsoft.com/en-us/sql/connect/odbc/mac/known-issues-in-this-version-of-the-driver
457
+
458
+ Fixed:
459
+
460
+
461
+ Added:
462
+ #1081223: Support for Azure Active Directory authentication
463
+ #9861137: Add ODBC Docs section for TVP on Linux and Mac. https://docs.microsoft.com/en-us/sql/relational-databases/
464
+ native-client-odbc-table-valued-parameters/binding-and-data-transfer-of-table-valued-parameters-and-column-values
465
+ _____________________________________________________________________________________________________________
@@ -0,0 +1,76 @@
1
+ MICROSOFT SOFTWARE LICENSE TERMS
2
+ MICROSOFT ODBC DRIVER 18 FOR SQL SERVER
3
+
4
+ These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.
5
+
6
+ 1. INSTALLATION AND USE RIGHTS.
7
+
8
+ a) General. You may install and use any number of copies of the software to develop and test your applications.
9
+ b) Third Party Software. The software may include third party applications that Microsoft, not the third party, licenses to you under this agreement. Any included notices for third party applications are for your information only.
10
+
11
+ 2. DISTRIBUTABLE CODE. The software may contain code you are permitted to distribute (i.e. make available for third parties) in applications you develop, as described in this Section.
12
+
13
+ a) Distribution Rights. The code and test files described below are distributable if included with the software.
14
+
15
+ i. REDIST.TXT Files. You may copy and distribute the object code form of code listed on the REDIST list in the software, if any, or listed at REDIST (https://aka.ms/odbc18eularedist);
16
+ ii. Image Library. You may copy and distribute images, graphics, and animations in the Image Library as described in the software documentation;
17
+ iii. Sample Code, Templates, and Styles. You may copy, modify, and distribute the source and object code form of code marked as “sample”, “template”, “simple styles”, and “sketch styles”; and
18
+ iv. Third Party Distribution. You may permit distributors of your applications to copy and distribute any of this distributable code you elect to distribute with your applications.
19
+
20
+ b) Distribution Requirements. For any code you distribute, you must:
21
+
22
+ i. add significant primary functionality to it in your applications;
23
+ ii. require distributors and external end users to agree to terms that protect it and Microsoft at least as much as this agreement; and
24
+ iii. indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your applications, except to the extent that any claim is based solely on the unmodified distributable code.
25
+
26
+ c) Distribution Restrictions. You may not:
27
+
28
+ i. use Microsoft’s trademarks or trade dress in your application in any way that suggests your application comes from or is endorsed by Microsoft; or
29
+ ii. modify or distribute the source code of any distributable code so that any part of it becomes subject to any license that requires that the distributable code, any other part of the software, or any of Microsoft’s other intellectual property be disclosed or distributed in source code form, or that others have the right to modify it.
30
+
31
+ 3. DATA COLLECTION. Some features in the software may enable collection of data from users of your applications that access or use the software. If you use these features to enable data collection in your applications, you must comply with applicable law, including getting any required user consent, and maintain a prominent privacy policy that accurately informs users about how you use, collect, and share their data. You agree to comply with all applicable provisions of the Microsoft Privacy Statement at [https://go.microsoft.com/fwlink/?LinkId=521839].
32
+
33
+ 4. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you will not (and have no right to):
34
+
35
+ d) use the software in any way that is against the law or to create or propagate malware; or
36
+ e) share, publish, distribute, or lend the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone hosted solution for others to use, or transfer the software or this agreement to any third party.
37
+
38
+ 5. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use. For further information on export restrictions, visit http://aka.ms/exporting.
39
+
40
+ 6. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for the software. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
41
+
42
+ 7. UPDATES. The software may periodically check for updates, and download and install them for you. You may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system to provide you with updates. You agree to receive these automatic updates without any additional notice. Updates may not include or support all existing software features, services, or peripheral devices.
43
+
44
+ 8. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for supplements, updates, or third-party applications, is the entire agreement for the software.
45
+
46
+ 9. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in the United States or Canada, the laws of the state or province where you live (or, if a business, where your principal place of business is located) govern the interpretation of this agreement, claims for its breach, and all other claims (including consumer protection, unfair competition, and tort claims), regardless of conflict of laws principles. If you acquired the software in any other country, its laws apply. If U.S. federal jurisdiction exists, you and Microsoft consent to exclusive jurisdiction and venue in the federal court in King County, Washington for all disputes heard in court. If not, you and Microsoft consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington for all disputes heard in court.
47
+
48
+ 10. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may have other rights, including consumer rights, under the laws of your state or country. Separate and apart from your relationship with Microsoft, you may also have rights with respect to the party from which you acquired the software. This agreement does not change those other rights if the laws of your state or country do not permit it to do so. For example, if you acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you:
49
+
50
+ a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights.
51
+ b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the automatic update feature, disconnecting your device from the Internet (if and when you re-connect to the Internet, however, the software will resume checking for and installing updates), or uninstalling the software. The product documentation, if any, may also specify how to turn off updates for your specific device or software.
52
+ c) Germany and Austria.
53
+
54
+ i. Warranty. The properly licensed software will perform substantially as described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software.
55
+ ii. Limitation of Liability. In case of intentional conduct, gross negligence, claims based on the Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable according to the statutory law.
56
+
57
+ Subject to the foregoing clause ii., Microsoft will only be liable for slight negligence if Microsoft is in breach of such material contractual obligations, the fulfillment of which facilitate the due performance of this agreement, the breach of which would endanger the purpose of this agreement and the compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence.
58
+
59
+ 11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
60
+
61
+ 12. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT, OR INCIDENTAL DAMAGES.
62
+
63
+ This limitation applies to (a) anything related to the software, services, content (including code) on third party Internet sites, or third party applications; and (b) claims for breach of contract, warranty, guarantee, or condition; strict liability, negligence, or other tort; or any other claim; in each case to the extent permitted by applicable law.
64
+ It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your state, province, or country may not allow the exclusion or limitation of incidental, consequential, or other damages.
65
+ Please note: As this software is distributed in Canada, some of the clauses in this agreement are provided below in French.
66
+ Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
67
+
68
+ EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.
69
+ LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
70
+
71
+ Cette limitation concerne:
72
+ • tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers; et
73
+ • les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
74
+
75
+ Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.
76
+ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.