Is it possbie to change datetime data type returned from outputtypehandler using Python's Cx_Oracle into string type (format yyyymmdd)?
def OutputTypeHandler(cursor, name, defaultType, size, precision, scale): if defaultType in (cx_Oracle.DB_TYPE_TIMESTAMP, cx_Oracle.DB_TYPE_DATE): return cursor.var(datetime.date,cursor.arraysize)
from Recent Questions - Stack Overflow https://stackoverflow.com/questions/65376907/change-datetime-date-type-in-outputtypehandler-cx-oracle Babar http://ifttt.com/images/no_image_card.png
没有评论:
发表评论