Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C98E647627A for ; Tue, 10 Sep 2002 12:35:26 -0400 (EDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by postgresql.org (Postfix) with ESMTP id 369A84761AF for ; Tue, 10 Sep 2002 12:35:26 -0400 (EDT) Received: from imyourhandiman.com ([12.230.187.161]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020910163531.JTKR19682.rwcrmhc51.attbi.com@imyourhandiman.com> for ; Tue, 10 Sep 2002 16:35:31 +0000 Message-ID: <3D7E1F52.4050401@imyourhandiman.com> Date: Tue, 10 Sep 2002 09:35:30 -0700 From: lee johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Declare/Fetch with For Update References: <4390.200.225.214.1.1031667673.squirrel@webmail.ad2.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/59 X-Sequence-Number: 2030 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 > >. > > >