Truncate tables based on type of database automagically.