0
如何在pl/sql腳本中調用?如何在pl/sql腳本中調用表值?
SELECT d.device_id,
d.state_id,
ds.distributor
INTO a1, b1, c1
FROM device_t d,
device_smartcard_t ds
WHERE d.poid_id0 = ds.obj_id0
AND d.device_id = e1.device_id;
cursor E1 is select * from tmp_dileep; – user2160359 2013-03-12 10:35:03
確切的提取返回的行數多於請求的行數 – user2160359 2013-03-12 10:44:10
就像我說的,'select into'只在您獲取一條記錄時纔有效。如果你想要處理多個記錄,那麼你可以獲取到一個遊標或使用「批量收集到......」請參閱http://www.oracle.com/technetwork/issue-archive/2008/08-mar/o28plsql -095155.html – Xophmeister 2013-03-12 10:53:19