pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedDeclare/Fetch with For Update
2+ messages / 2 participants
[nested] [flat]
* Declare/Fetch with For Update
@ 2002-09-10 14:21 alexandre :: aldeia digital <alepaes@aldeiadigital.com.br>
0 siblings, 1 reply; 2+ messages in thread
From: alexandre :: aldeia digital @ 2002-09-10 14:21 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I use psqlodbc-07_02_0002 and the query:
select x,y from ZZZ for update of ZZZ
Will be trasformed in :
declare SQL_CURxxx cursor for select x,y from ZZZ OF ZZZ
When I use declare/fetch, causing an error "near OF" because
the supress of 'for update'.
The ODBC driver may be bypass the use of declare/fetch when
the select have the 'for update' clause (or others wich update
rows), or I miss something ?
I need the 'for update', but the optimization of declare/fetch
are incredible in other parts of my application.
Thank´s all
Alexandre
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Declare/Fetch with For Update
@ 2002-09-10 16:35 lee johnson <lee@imyourhandiman.com>
parent: alexandre :: aldeia digital <alepaes@aldeiadigital.com.br>
0 siblings, 0 replies; 2+ messages in thread
From: lee johnson @ 2002-09-10 16:35 UTC (permalink / raw)
To: pgsql-odbc
was talking with someone online and they mentioned getting ODBC for
msaccess and them exporting my database with that and importing ( with
postgres-odbc installed) them somehow into postgres via pgaccess?????
that would be loverly if possible but are there ( assuming this is possible)
special directions to be aware of to pull this off??
thx
lee
alexandre :: aldeia digital wrote:
>Hi,
>
>I use psqlodbc-07_02_0002 and the query:
>
>select x,y from ZZZ for update of ZZZ
>
>Will be trasformed in :
>
>declare SQL_CURxxx cursor for select x,y from ZZZ OF ZZZ
>
>When I use declare/fetch, causing an error "near OF" because
>the supress of 'for update'.
>The ODBC driver may be bypass the use of declare/fetch when
>the select have the 'for update' clause (or others wich update
>rows), or I miss something ?
>I need the 'for update', but the optimization of declare/fetch
>are incredible in other parts of my application.
>
>Thank´s all
>
>Alexandre
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>.
>
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-09-10 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-10 14:21 Declare/Fetch with For Update alexandre :: aldeia digital <alepaes@aldeiadigital.com.br>
2002-09-10 16:35 ` lee johnson <lee@imyourhandiman.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox