Re: CURSOR WITH UPDATE
- From: pdalec@xxxxxxxxx (pDale)
- Date: Tue, 11 Jul 2006 14:54:14 -0400
On 7/11/06, Jonathan Leffler <jonathan.leffler@xxxxxxxxx> wrote:
On 7/11/06, pDale <pdalec@xxxxxxxxx> wrote:
> From looking around with Google, it would APPEAR that you can
> implement a cursor WITH UPDATE in DBI, but I have not been able to
> find an example of that. Would anyone happen to have a bare-bones
> code framework for such a thing?
$sth->{CursorName} is a key part of it.
See also the docs for DBD::Informix (http://search.cpan.org/) for an example
- the POD has a section CURSORS FOR UPDATE that shows how to do it.
I should have mentioned I'm working with Oracle. I may have found a
way by working with cursors directly, using something very loosely
related to binding cursors:
<http://search.cpan.org/~pythian/DBD-Oracle-1.17/Oracle.pm#Binding_Cursors>.
Any other suggestions?
--
pDale Campbell
"The moment I let go of it,
Was the moment I got more than I could handle."
.
- Follow-Ups:
- Re: CURSOR WITH UPDATE
- From: scoles@xxxxxxxxxxx
- Re: CURSOR WITH UPDATE
- References:
- CURSOR WITH UPDATE
- From: pDale
- Re: CURSOR WITH UPDATE
- From: Jonathan Leffler
- CURSOR WITH UPDATE
- Prev by Date: Re: Execute marks end of transaction?
- Next by Date: Re: CURSOR WITH UPDATE
- Previous by thread: Re: CURSOR WITH UPDATE
- Next by thread: Re: CURSOR WITH UPDATE
- Index(es):
Relevant Pages
|
|