Pandas read_sql function is not working if there is a timestamp field to parse. Can someone please help on this DB: SQL server.
Timestamp field has value like this : 2021-04-22 06:27:18.6015279 -05:00
data_df = pd.read_sql("select * from tblA", cnxn, parse_dates={'last_updated_ts': '%Y-%m-%d, %H:%M:%S.%f')
The error I get is the following:
('ODBC SQL type -155 is not yet supported. column-index=9 type=-155', 'HY106')
Any help will be very much appreciated.