pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: krishnanand.pandey@accenture.com
To: adrian.klaver@aklaver.com
To: pgsql-odbc@postgresql.org
Subject: Re: Multilevel inserts issue with ODBC
Date: Wed, 22 Jun 2016 09:20:00 +0000
Message-ID: <dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net> (raw)
In-Reply-To: <325beb35-b473-e059-e3af-cc545b1b5d4e@aklaver.com>
References: <2ccd8affb9644e4999ebcd0f1487d72e@BY2PR4202MB0279.048d.mgd.msft.net>
	<fb125098-f927-d6e5-fd4e-7f6737489e0d@aklaver.com>
	<c4ce8c578341496a8a6da41186e1b73a@BY2PR4202MB0279.048d.mgd.msft.net>
	<325beb35-b473-e059-e3af-cc545b1b5d4e@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Adrian



Same thing I am trying in a Windows XP 64bit machine from VB application it fails with the error (3137Missing semicolon (;) at end of SQL statement.).

And if the same multi-level insert statement from code executed from psql/pgadmin it works.



Could you please check the below statement from Windows odbc?



Thanks



Krishnanand Pandey
[cid:image001.png@01D05501.1577B7C0]
Newcastle Delivery Centre
UK Delivery Centre (Newcastle)
15A | 1 Quick Silver Way | Cobalt Business Park |Tyne and Wear| NE27 0QQ
* krishnanand.pandey@accenture.com<mailto:krishnanand.pandey@accenture.com>
Confidential

This message is for the designated recipient only and may contain confidential, privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this email by you is prohibited.
Communications with Accenture or any of its group companies ("Accenture Group") including telephone calls and emails (including content), may be monitored by us for the purposes of security and the assessment of internal compliance with company policy. Accenture Group does not accept service by e-mail of court proceedings, other processes or formal notices of any kind.
Accenture means Accenture (UK) Limited (registered number 4757301), Accenture Services Limited (registered number 2633864), or Accenture HR Services Limited (registered number 3957974), all registered in England and Wales with registered addresses at 30 Fenchurch Street, London EC3M 3BD, as the case may be.







-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]
Sent: 21 June 2016 21:57
To: Pandey, Krishnanand <krishnanand.pandey@accenture.com>; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Multilevel inserts issue with ODBC



On 06/21/2016 01:37 AM, krishnanand.pandey@accenture.com<mailto:krishnanand.pandey@accenture.com> wrote:

> Hi Adrian

>

>

>

> We are seeing this error in the VB application logs where we have

> captured the error with the Err.Number and Err.Description in the code.

>

> Are there any limitations in the ODBC driver that it cannot handle

> multi-level inserts?



Not that I can see. Just got a chance to compile 09.05.0300 on my Linux machine. Going through the isql utility of unixODBC:



SQL> INSERT INTO odbc_test(id, fld_1) VALUES (1, 'one'), (2, 'two'), (3,

'three')

SQLRowCount returns 3





postgres@production=# select * from odbc_test ;

  id | fld_1

----+-------

   1 | one

   2 | two

   3 | three

(3 rows)





>

>

>

> Thanks

>

>

>

>

>

>

>

> /Krishnanand Pandey/

>







--

Adrian Klaver

adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com>

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

Attachments:

image001.png (image/png, 3.4K) download view image

view thread (9+ messages)  latest in thread

Message-ID: <dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net>
Permalink:  ../dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net/
Also on:    postgresql.org/message-id/dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net

 · 

reply

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: krishnanand.pandey@accenture.com, adrian.klaver@aklaver.com
  Subject: Re: Multilevel inserts issue with ODBC
  In-Reply-To: <dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net>
  References: <2ccd8affb9644e4999ebcd0f1487d72e@BY2PR4202MB0279.048d.mgd.msft.net> <fb125098-f927-d6e5-fd4e-7f6737489e0d@aklaver.com> <c4ce8c578341496a8a6da41186e1b73a@BY2PR4202MB0279.048d.mgd.msft.net> <325beb35-b473-e059-e3af-cc545b1b5d4e@aklaver.com> <dc25f22d0ca44da885895576fd1808e8@BY2PR4202MB0279.048d.mgd.msft.net>

* 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