源数据表结构:
year month
2008 1
... ...
都是数值型的;
现在要根据year和month两个字段得出所在月的月初和月末。month_bg和month_ed都是SAS日期型数据。
结果:
year month month_bg month_ed
2008 1 2008-1-1 2008-1-31
... ... ... ...
谢谢大家了。


雷达卡




京公网安备 11010802022788号







