input Flight Dest $ @@;
cards;
193 FRA 207 LON 311 SJA
;
run;
proc sql;
create table new
like out_usa;
quit;
1.
PROC SQL NOPRINT;
INSERT INTO new
VALUES (5350 'HKG' 5780 ‘YOW’);
QUIT;
2.
PROC SQL NOPRINT;
INSERT INTO new
SET flight=5250, dest='YYZ', flight=5780,dest='YOW';
QUIT;
我用第一种方法写最后没有出来结果, log里面显示
‘error: values clause 1 attempts to insert more columns than specified after insert table name’
我用第2种方法写最后只出来一条observation: 5780 YOW
请问分别是哪里出了错才导致没办法output想要的结果. 谢谢.



雷达卡



京公网安备 11010802022788号







