且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从任何表中删除任何行

更新时间:2023-02-06 23:40:08

您需要构建标准的DELETE查询字符串并对数据库执行它。这是简单的字符串操作。

You need to build a standard DELETE query string and execute it against the database. This is simple string manipulation.
DELETE FROM [tablename] WHERE [matchingExpression]



你有提供表名和表达式以标识要删除的记录。


You have to supply the tablename and the expression to identify the record you want to delete.