I am writing a small application in Python which reads the records from Oracle and insert them into Vertica.
To read from To Oracle I am using the When I press the following query in the workset: I get the following error: My question is that it is called Vertica Time Stamp How to change the columns? You are trying to mix Python code and SQL; Your Verteca server is trying to interpret Use instead: cx_Oracle Python package and I'm using the
pyodbc package to write in Vertica.
INSTERT "test" (COL1) Value (datetime.datetime (2011, 9, 13, 10, 47, 54, 795658))
Error: Error: schema "datetime" does not exist SQLState: 3F000 ErrorCode: 0
datetime.datetime information as a SQL schema, and it fails.
datetime import date time cursor. Execute ("INSERT INNTO" exam "(COL1) value (?) ', Date time (2011, 9, 13, 10, 47, 54, 795658))
Comments
Post a Comment