![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
There is no real documentation that I can find on this, so here goes the question. *Can I combine a FORALL ... INSERT with a nested table? Say I have this code: * OPEN ticker_detail; * FETCH ticker_detail BULK COLLECT INTO v_read_record; * CLOSE ticker_detail; . . . * FORALL y IN v_read_record.FIRST .. v_read_record.LAST * * INSERT INTO stock_info_snapshot VALUES v_read_record(y); |
|
If stock_info_snapshot contains a nested table, can this or will this work? |
#3
| |||
| |||
|
|
On Jun 14, 1:39*pm, The Magnet <a... (AT) unsu (DOT) com> wrote: There is no real documentation that I can find on this, so here goes the question. *Can I combine a FORALL ... INSERT with a nested table? Say I have this code: * OPEN ticker_detail; * FETCH ticker_detail BULK COLLECT INTO v_read_record; * CLOSE ticker_detail; . . . * FORALL y IN v_read_record.FIRST .. v_read_record.LAST * * INSERT INTO stock_info_snapshot VALUES v_read_record(y); That's out of my experience, but a quick google says you can according to Steven Feuerstein andhttp://tonguc.wordpress.com/2007/02/25/oracle-best-practices-part-2/ Didn't notice any actual examples though. If stock_info_snapshot contains a nested table, can this or will this work? Does it give you an error? jg -- @home.com is bogus.http://www.signonsandiego.com/news/2...o-couple-loses... |
![]() |
| Thread Tools | |
| Display Modes | |
| |