executemany

(fast_executemany = True) Error "[ODBC Driver 17 for SQL Server]Invalid character value for cast specification (0) (SQLExecute)')"

(fast_executemany = True) Error "[ODBC Driver 17 for SQL Server]Invalid character value for cast specification (0) (SQLExecute)')" Question: I’m using (executemany) function from pyodbc to populate data into an mssql database. This is my code: def populate_database(conn): tuples = [ (‘2020-04-13 00:50:42’, ‘AirShoppingRQ’, ‘ALEY’, ‘2020-05-23’, ”, ”, ‘BRU-BLQ’, ”), (‘2020-04-13 00:50:43’, ‘AirShoppingRQ’, ‘ALEY’, ‘2021-01-23’, ”, …

Total answers: 2