How to delete all the rows from a table? [message #39466] |
Thu, 18 July 2002 07:11 |
figen
Messages: 10 Registered: July 2002
|
Junior Member |
|
|
Truncate or Delete? I know Delete might cause a lot of rollback and fire all the delete triggers. But I cannot use "Truncate" command from a procedure, because it is DDL command.
I am writng a Java script which will call Procedure and take the "table_name" as an argument and delete all the rows in that table.
Is there any way doing this from a Java Script other than Procedure or how should be the procedure?
Thanks in advance
|
|
|
|
|