write a script to truncate table