数据源获得系统年月

select year(convert(varchar(100),getdate(),120)) as year,month(convert(varchar(100),getdate(),120)) as month


你可能感兴趣的:(数据源,convert)