Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
匿名ブロックを実行したいときにこのエラーが発生します
Bind Variable "select" is NOT DECLARED anonymous block completed
このエラーの原因は何ですか? どうすればそれを止めることができますか?助けてください。
デュアルから sysdate を選択する必要はありません。その他いくつかの問題があります。
declare filename varchar2(21) := to_char(sysdate, '"MED_LIST_"DD_MM_YY".csv"'); Begin execute immediate 'alter table ext_table location ('''||filename||''')'; end;