楼主: wenling15
1793 12

[问答] SAS SQL [推广有奖]

11
wenling15 发表于 2016-1-6 04:19:34 来自手机 |只看作者 |坛友微信交流群
用这code 作了另一个比较产生error message

WARNING: A table has been extended with null columns to perform the EXCEPT set operation.
ERROR: Column 5 from the first contributor of EXCEPT is not the same type as its counterpart from
      the second.
ERROR: Column 6 from the first contributor of EXCEPT is not the same type as its counterpart from
      the second.
ERROR: Column 9 from the first contributor of EXCEPT is not the same type as its counterpart from
      the second.
ERROR: Column 10 from the first contributor of EXCEPT is not the same type as its counterpart
      from the second.
ERROR: Column 12 from the first contributor of EXCEPT is not the same type as its counterpart
      from the second.
ERROR: Column 13 from the first contributor of EXCEPT is not the same type as its counterpart
      from the second.
1830  quit;
NOTE: The SAS System stopped processing this step because of errors.

使用道具

应该是两个数据集不同源,变量属性不同,试试compare吧
proc compare base=old comp=new;listall;run;
hope it help!

使用道具

13
wenling15 发表于 2016-1-6 21:56:14 来自手机 |只看作者 |坛友微信交流群
Thanks. List all, or listall, seem to be wrong. Delete this, I can still see it works. Any better suggestions?

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 08:07