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.
select (SELECT * FROM TABLE(or_in_list_fn('FV52,1101'))) plant_cd from dual
戻る
ORA-01427:単一行のサブクエリが複数の行を返します
where or_in_list_fn returns FV52 1101
出力が必要です
Plant_cd --------------- FV52 1101
これを試して:
SELECT column_value AS plant_cd FROM TABLE(or_in_list_fn('FV52,1101'))
サブクエリが 1 行と 1 フィールドを返すようにする必要があります。使用できますmax()
max()
select (SELECT max(yourfield) FROM TABLE(or_in_list_fn('FV52,1101'))) plant_cd from dual