-2
select customernumber into total
from (select customernumber
from ccsowner.customer
where customernumber not in (select customernumber from MOBILEACCOUNTDETAILS))
一時表が作成されました。エラー:ORA-00905:副問合せから一時表に行を挿入しようとすると、キーワード・エラーが表示されません。
Create Table Total
(
customernumber Int
)
最初に試しましたが、無効な数値エラーが発生しています。 – Swathi
SQLエラー:ORA-01722:無効な番号 01722. 00000 - "無効な番号" – Swathi
CustomerNumber列のデータ型を確認します。データ型varcharのようです。詳細については、http://stackoverflow.com/questions/12549029/sql-error-ora-01722-invalid-numberを参照してください。 – Nagahornbill