简体   繁体   中英

Deleting all records in a table in mysql using java

我将如何在Java中使用jdbc从给定的mysql表中删除所有记录。

By executing the following query -

DELETE    
FROM   your_table_name;

If you also want to know how to use JDBC, then go here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM