Topic: Delete data
Is there a way to delete data of a field or multi fields in a table.
For example A is table and b,c and d are fields of table A and I want to delete all data that stored in field b, c and d of table A.
My Visual Database → Script → Delete data
Is there a way to delete data of a field or multi fields in a table.
For example A is table and b,c and d are fields of table A and I want to delete all data that stored in field b, c and d of table A.
Try
sqlexecute('update A set B = "", set C = "", set D = ""');
I would recommend taking a copy of the relevant sqlite.db just in case.
Derek.
Thank you derek but syntax error near set display.
sorry, it should be
sqlexecute('update A set B = "", C = "", D = ""');
thank you derek. It works now.
My Visual Database → Script → Delete data
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi