I have a thousand of records in one column and I want to cross join with date range let’s say between ‘2022-01-01 and ‘2022-02-15’. I don’t know how to start with sql server query, anyone can help?
Here’s my data (only one column)
City
Los Angeles
New York
Miami
Berlin
Dublin
Bologna
Desired result: (I shown 2 examples each only but the actual results should be 276 records)
Angeles/Dte-01Jan22
Los Angeles/Dte-02Jan22
New York/Dte-01Jan22
New York/Dte-02Jan22
Miami/Dte-01Jan22
Miami/Dte-02Jan22
Berlin/Dte-01Jan22
Berlin/Dte-02Jan22
Dublin/Dte-01Jan22
Dublin/Dte-02Jan22
Bologna/Dte-01Jan22
Bologna/Dte-02Jan22