| Author |
how to truncate table?
|
Mindy Wu
Ranch Hand
Joined: Jan 12, 2001
Posts: 121
|
|
I need to truncate the table before inserting new record into my table, can anyone tell me the syntax? Is this right? Statement stTruncate = con.createStatement(); stTruncate.executeUpdate("truncate table tblName"); ??? Thanks!
|
 |
Mindy Wu
Ranch Hand
Joined: Jan 12, 2001
Posts: 121
|
|
|
Never mind, i did it. The above code is right!
|
 |
 |
|
|
subject: how to truncate table?
|
|
|