Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFi6c-0006KP-Jv for pgsql-odbc@arkaria.postgresql.org; Wed, 22 Jun 2016 13:22:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bFi6b-0005lz-54 for pgsql-odbc@arkaria.postgresql.org; Wed, 22 Jun 2016 13:22:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFi6Z-0005lq-HM for pgsql-odbc@postgresql.org; Wed, 22 Jun 2016 13:22:07 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFi6Q-0007dW-RG for pgsql-odbc@postgresql.org; Wed, 22 Jun 2016 13:22:06 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B119B202AE; Wed, 22 Jun 2016 09:21:55 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 22 Jun 2016 09:21:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=vXLsgUaQXJmt6h2cBE0d/nvFk9A=; b=Q6iZGQ oXuKsBQS991IkK66PaiMSjwwVaQP8Acnh43FxFXifaX/Xm4mPmFw80Zab5HcwLmA 1OAzZkd/mFsNIkCaRQCKof0iDXifYXOTPwCSL2OT617MQC329kid7Vl211QpDr4Y qiW0i8q+u3lS0/BzL2RLSDxj+55G55rGl0XvU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=vXLsgUaQXJmt6h2 cBE0d/nvFk9A=; b=jdUc+rDrKU83U4Bf2U2O/8Q/jBltDNN1id5bwfV1/JgLDpT z8ARHbCYw4/Vu/iBZcFmB7aGUvT8ESym407EusI00f4JWBeU77e8ibxQAX7WNNiH uUCmV55TlZSBoR2FH2kvrvPH0Iw5YVGLRviFwqpZCA9XvXe/uISvYtEaec/0= X-Sasl-enc: onYu18XNTvkxZAoGiBeBdduJEJSTlyxfDHgcPhf21q2y 1466601715 Received: from [192.168.1.2] (174-24-160-10.tukw.qwest.net [174.24.160.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 1511ACC07A; Wed, 22 Jun 2016 09:21:54 -0400 (EDT) Subject: Re: Multilevel inserts issue with ODBC To: krishnanand.pandey@accenture.com, pgsql-odbc@postgresql.org References: <2ccd8affb9644e4999ebcd0f1487d72e@BY2PR4202MB0279.048d.mgd.msft.net> <325beb35-b473-e059-e3af-cc545b1b5d4e@aklaver.com> From: Adrian Klaver Message-ID: Date: Wed, 22 Jun 2016 06:21:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/22/2016 02:20 AM, krishnanand.pandey@accenture.com wrote: > 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? I do not have a Windows machine to test with. > > > > 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 > > 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 ; > pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Multilevel inserts issue with ODBC > > > > On 06/21/2016 01:37 AM, 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 > > > ------------------------------------------------------------------------ > > 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 -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc