More features for SQL dumping