0
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.

なにが問題ですか?

ありがとう、アオラ

4

1 に答える 1

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;
于 2016-05-30T22:25:24.683 に答える