Re: Grinder python script call pl/sql insert into database?

Gary Mulder <[email protected]> Thu, 13 Nov 2014 10:39:08 +0000
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAKy9zTDEnyXVrLz0S1Nkq6r_HX4FL3SaY7KYHUUN5d+5ujNqgw@mail.gmail.com>
On 13 November 2014 01:52, Gang Yan <[email protected]> wrote:

>
>             insertStatement.execute
>
>             (
>
>              "begin \
>
>                 for i in 1 .. 1000000000 \
>
>                 loop \
>
>                   insert into grinder_test123 values ( i, 'x' ); \
>
>                   end loop; \
>
>                   commit; \
>
>                 end; \
>
>                 / \
>
>                 "
>
>             )
>

It may be due to your email formatting, but you should have "\" around your
multi-line string, as I added above.

Regards,
Gary

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use