This question is for inserting data into Clarion .TPS files using the TopSpeed ODBC driver. We are using C#.
I have an insert statement like this:
INSERT INTO MYTAB
(SOMEDATE, SOMETIME) VALUES ({d '2020-08-25'}, 1)
with SOMETIME being defined as TIME.
We get this error while trying to insert:
ERROR [S0000] [SoftVelocity Inc.][TopSpeed ODBC Driver]Invalid operand for operator: <assignment>
The vague error messages are really annoying.
What is the appropriate way to specify a time?
I am trying just an integer as that is what the documentation days a time is (100ths of seconds since midnight + 1).
Is there some definitive guide to the SQL syntax that is allowed with the softvelocity ODBC driver as it is a bit exhausting to be guessing.