楼主: wenling15
2356 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.

12
老七的人大 发表于 2016-1-6 11:39:23
应该是两个数据集不同源,变量属性不同,试试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
拉您进交流群
GMT+8, 2025-12-25 11:11