Bulk Collectnya koq ndak pake limit? ntar PGAnya banjir bandang kalo 
datanya gede?
tapi kalo datanya cuman dikit, ya mungkin ndak berasa ya Bulk Collect vs 
for loop

timingnya berapa?

[email protected] wrote:
>
> mas mas developer,
>
> ada cara lain yg lebih kenceng ga ya?
> kok dibanding for loop biasa malah sami mawon?
>
> set serveroutput on
> set timing on
>
> declare
> l_out number;
> TYPE t_cursor IS TABLE OF xx1.acct%TYPE;
> l_cursor t_cursor;
> n number := 1;
> plsql_block varchar2(200);
> l_acct_num varchar2(60);
> begin
> plsql_block := 'BEGIN get...@dblink(:x1, :x2); END;';
> select acct bulk collect into l_cursor from xx1 where rn between 0 and 
> 1000;
> forall I in 1..l_cursor.COUNT
> execute immediate plsql_block using in l_cursor(I), out l_out;
> dbms_output.put_line(n||' '||l_out);
> n:=n+1;
> end;
> /
>
> [Non-text portions of this message have been removed]
>
> 
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.819 / Virus Database: 271.1.1/2896 - Release Date: 05/25/10 
> 14:26:00
>
>    



------------------------------------

--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [email protected]
Website: http://indooracle.wordpress.com
http://www.facebook.com/group.php?gid=51973053515
-----------------------------------------------

Bergabung dengan Indonesia Thin Client User Groups, 
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.blogspot.comYahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indo-oracle/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/indo-oracle/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Kirim email ke