We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7509608 commit f1e275dCopy full SHA for f1e275d
python/plugins/db_manager/db_plugins/oracle/data_model.py
@@ -64,6 +64,9 @@ def _sanitizeTableField(self, field):
64
if field.dataType.upper() == u"DATE":
65
return u"CAST({} AS VARCHAR2(8))".format(
66
self.db.quoteId(field.name))
67
+ if u"TIMESTAMP" in field.dataType.upper():
68
+ return u"TO_CHAR({}, 'YYYY-MM-DD HH:MI:SS.FF')".format(
69
+ self.db.quoteId(field.name))
70
if field.dataType.upper() == u"NUMBER":
71
if not field.charMaxLen:
72
return u"CAST({} AS VARCHAR2(135))".format(
0 commit comments