我有两个table已经存在sas 系统里了,第一个table 6百多万行,有个date1 column, 格式都是像 01Jan2012:00:00:00
第二个table 7百多万行, 有个date2 column,格式都是像 01Jan2013:00:00:00:000
我需要把两个table join 起来,date1 和 date2 这两个columns 都需要在里面。这一步已经做完了。下一步是比较每一行里面的date1 VS date2, 如果date1 在date2 之前,在comment column里面写 before; 如果date1 在date2 之后,在comment column里面写after.
请问大家,如何比较快速的把所有date1 date2转变成可以比较大小的格式,什么格式?
谢谢!!!