Dynamically generate the queries to load a partitioned store_sales table...

....
Fix format parameter