There is a way of deleting data from table (emptying table) in DB2, which is more effective than the normal delete statement. Below is the command for that:
import from nul: of del replace into <table_name>
I have to use this kind of delete command inside a stored procedure. Can somebody please help me out on the way to do this?