sqlite3 - SQLITE: Error while executing SQL query on database 'database': row value misused -
i'm using sqlite in windows application (done visual c#); while inserting columns table i'm getting following error:
error while executing sql query on database 'database': row value misused
the following insertion query:
insert d_logindetails (userid,registration_no,logintime,expected_logout,machinesno,is_uploaded)values (234,'1233',current_timestamp,(current_timestamp,'+60 minutes'),'s12452',0);
'+60 minutes'
string.
when used built-in date/time functions, interpreted modifier. computation, have call such function:
insert ... values (..., current_timestamp, datetime('now', '+60 minutes'), ...);
Comments
Post a Comment