having this command sql
Code: Select all
put "INSERT INTO tb_godute ('fld_data', 'fld_ore', 'fld_causale') VALUES (:1, :2, :3)", miadata, ore, causale into sqlInsert
revExecuteSQL conn, sqlInsert
ore --> 3
causale --> ROL
I get this error
but from what I understand SQlite accepts dates in YYYY-MM-DD format.There was a problem saving this record: ner "2018": sintax error
The data field in the database is of type text, even if you try the datetime or date type the error is the same
Where's the mistake?