来源:https://stackoverflow.com/questions/63727052/how-to-loop-through-table-using-while-loop-and-create-another-table-with-values 标签 sql sql-server tsql datetime recursive-query