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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -