pyodbc를 사용하여 datetimeoff컬럼을 가져오면 오류가 남


pyodbc.ProgrammingError: ('ODBC SQL type -155 is not yet supported. column-index=0 type=-155', 'HY106')


github에서 Converter function을 찾음

https://github.com/mkleehammer/pyodbc/wiki/Using-an-Output-Converter-function


기록 해둠


add_output_converter(-155, handle_datetimeoffset) 으로 변환 한수 추가


+ Recent posts