I have a table (SQL Server 2017) where the data is stored at the level of the year number and week number.
    +---------+-------------+---------+----------+-----+
    | year_id | week_number | good_id | store_id | qty |
    +---------+-------------+---------+----------+-----+
    | 2019    | 42          | 113466  | 41       | 7   |
    +---------+-------------+---------+----------+-----+
I need to get a similar table, but at the day level, where the quantity (qty) will be divided into 7 parts evenly for each day.
+---------+-------------+---------+----------+-----+------------+
| year_id | week_number | good_id | store_id | qty | date_id    |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-14 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-15 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-16 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-17 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-18 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-19 |
+---------+-------------+---------+----------+-----+------------+
| 2019    | 42          | 113466  | 41       | 1   | 2019-10-20 |
+---------+-------------+---------+----------+-----+------------+
I found a way to get a date from the year and week number, but how do I get 7 rows from one at once?