in reply to DBI passing tablename

My guess is you can't use placeholders for table names in truncate statement... turn up trace to maximum, maybe you'll get a better error message