Strings used in query always sent with NVARCHAR syntax, even if the underlying column is not unicode
问题 I'm noticing some odd behavior in the SQL generated for queries against string fields in MS SQL. Server version: SQL Server 2014 12.0.5000.0 Collation: SQL_Latin1_General_CP1_CI_AS Python version: 3.7 Our database has a mix of NVARCHAR (mostly newer) and VARCHAR (mostly older) fields. We are using SQLAlchemy to connect our Python application to the database, and even though we specify that a column is of type String (as opposed to Unicode ), the executed SQL always comes out in NVARCHAR