data ABC.TABLE_1 (REPLACE=YES);
set ABC.TABLE_1 (OBS=0);
run;
ERROR: The TERADATA table TABLE_1 has been opened for OUTPUT. This table already exists, or there is a name
conflict with an existing object. This table will not be replaced. This engine does not support the REPLACE option.
有什么问题?
谢谢, AOLA
答案 0 :(得分:1)
自己删除表格。
proc delete data=ABC.TABLE_1 ; run;
或
proc sql; drop table ABC.TABLE_T; quit;
或者,如果您不想删除表格,只需删除观察结果。
proc sql; delete from ABC.TABLE_T; quit;
然后使用PROC APPEND将数据添加到现有表中。
proc append base=ABC.TABLE_1 data=WORK.TABLE_1; run;
请注意,如果您想告诉Teradata使用哪种类型,可以使用DBTYPE数据集选项。
data ABC.TABLE_1 (dbtype=(id='integer'));
set table_1;
run;