Skip to content
Permalink
Browse files

Issue #423: add DataTypeCompatibility=80 to connection string, hopefu…

…lly healing these "multiple step" errors on MS SQL
  • Loading branch information...
ansgarbecker committed Sep 22, 2019
1 parent 4a8e929 commit 67967b411fa2b7c3144a4b6bced3905fca5a933e
Showing with 4 additions and 1 deletion.
  1. +4 −1 source/dbconnection.pas
@@ -1940,7 +1940,10 @@ procedure TAdoDBConnection.SetActive(Value: Boolean);
'User ID='+Parameters.Username+';'+
'Network Library='+NetLib+';'+
'Data Source='+DataSource+';'+
'Application Name='+AppName+';'
'Application Name='+AppName+';'+
// Issue #423: MSOLEDBSQL compatibility with new column types
// See https://docs.microsoft.com/en-us/sql/connect/oledb/applications/using-ado-with-oledb-driver-for-sql-server?view=sql-server-2017
'DataTypeCompatibility=80;'
;

// Pass Database setting to connection string. Required on MS Azure?

0 comments on commit 67967b4

Please sign in to comment.
You can’t perform that action at this time.