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

Popular posts from this blog

java - How to print docx and pdf? -

html - jquery - p element wont show after I hid it -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -