Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3hDp-0003Uz-SZ for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Apr 2018 12:09:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3hDo-0004eJ-4m for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Apr 2018 12:09:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3h56-00089V-9E for pgsql-odbc@lists.postgresql.org; Wed, 04 Apr 2018 12:00:00 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3h53-0004NZ-AS for pgsql-odbc@postgresql.org; Wed, 04 Apr 2018 11:59:58 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 0E853C1E33F2 for ; Wed, 4 Apr 2018 04:59:56 -0700 (MST) Date: Wed, 4 Apr 2018 04:59:56 -0700 (MST) From: Jaydip To: pgsql-odbc@postgresql.org Message-ID: <1522843196056-0.post@n3.nabble.com> In-Reply-To: <50FE2B7F.7040202@t-online.de> References: <1TvloP-15Bhtg0@fwd04.aul.t-online.de> <50F7F7D4.40307@tpf.co.jp> <50F82EC5.60701@vmware.com> <50FE2B7F.7040202@t-online.de> Subject: Re: Bug in SQLRowCount ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I has also face same issue. I am just curious to know, how are you using SQL_ATTR_PARAM_STATUS_PTR? I have tried to use that in my code and I was incrementing the count based on the status "SQL_PARAM_SUCCESS" i.e. 0. However, I found that when I send let's say 3 rows in batch and there is no row to delete, the status was still "SQL_PARAM_SUCCESS". When I called "SQLRowCount" it was returning me 0. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-odbc-f2186591.html