From: Jo Dillon <jo@groupinfo.com>
To: pgsql-odbc@postgresql.org
Subject: Problem with multiple statement in one SQLExecute?
Date: Mon, 19 May 2003 10:02:34 -0400
Message-ID: <20030519100234.A23560@iceborg> (raw)
Hi...I'm migrating an application from OpenLink's drivers to psqlodbc and
I'm having problems with (I think) multiple SQL statements in one
query. The problem is the following:
INSERT INTO SuperForm( Press_ID, Paper_ID, Form_Plate_Offset_X, Form_Plate_Offset_Y,
SuperForm_Style_ID ) VALUES( 'foo', 'bar', 0, 0, 'frobnitz' );
(SELECT CAST(currval('superform_super_form_id_seq') AS INT) AS New_Super_Form_ID)
(this is being executed by SQLExecute).
With OpenLink I get a result back; with psqlodbc I don't. I'm using latest CVS.
My question is, is this supposed to work right now, and if it isn't where should I look
to start making the driver handle it? :)
--
Jo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: jo@groupinfo.com
Subject: Re: Problem with multiple statement in one SQLExecute?
In-Reply-To: <20030519100234.A23560@iceborg>
References: <20030519100234.A23560@iceborg>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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