We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents d6f66ee + 0aa0b4c commit 44590e9Copy full SHA for 44590e9
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