SELECT CONVERT(VARCHAR(7),DATEADD(MONTH,number,'2016-01-01'),120) FROM master..spt_values WHERE type='P' AND DATEADD(MONTH,number,'2016-01-01')<='2017-01-01'
Powered by: 博客园 Copyright © 2024 shenyixin Powered by .NET 8.0 on Kubernetes