Connecting and truncating a table in mysql

From MyWiki
Jump to: navigation, search

Statement stTruncate = con.createStatement();
stTruncate.executeUpdate("truncate table tblName");