delphi - SQLite delete from table where condition is of boolean type -
i trying run query without success :
datamodule1.uniquery5.close; datamodule1.uniquery5.sql.clear; datamodule1.uniquery5.sql.text:='delete mytable job_done = "1"'; datamodule1.uniquery5.execsql;
job_done boolean field. since sqlite has 2 conditions true/false (0 or 1), failing understand why nothing gets deleted. can me ?
try command
delete mytable job_done = 1;
without quotes
Comments
Post a Comment