Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adbIG-0003Zk-ND for pgsql-odbc@arkaria.postgresql.org; Wed, 09 Mar 2016 10:24:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1adbIG-0003J4-6R for pgsql-odbc@arkaria.postgresql.org; Wed, 09 Mar 2016 10:24:40 +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) (envelope-from ) id 1adbIF-0003Hi-EX for pgsql-odbc@postgresql.org; Wed, 09 Mar 2016 10:24:39 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adbIA-0003PA-Hu for pgsql-odbc@postgresql.org; Wed, 09 Mar 2016 10:24:39 +0000 Received: from [192.168.1.3] (h216161.dynamic.ppp.asahi-net.or.jp [61.114.216.161]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 34459C04D; Wed, 9 Mar 2016 19:24:25 +0900 (JST) Subject: Re: Obtaining hundredths of a second data from time data types To: Scott Ferrett References: <56D92DAB.9010806@ferrettconsulting.com> <56DEC77D.8040508@dream.email.ne.jp> <56DF6F94.2080901@ferrettconsulting.com> Cc: pgsql-odbc@postgresql.org From: "Inoue, Hiroshi" Message-ID: <56DFF9DA.1090804@dream.email.ne.jp> Date: Wed, 9 Mar 2016 19:24:26 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56DF6F94.2080901@ferrettconsulting.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 Hi Scott, On 2016/03/09 9:34, Scott Ferrett wrote: > Hi Hiroshi, > > This driver fixes all the problems with retrieving data. Thank you. > > This allowed me to get further with my testing and found the next > problem. > > Although you can now retrieve data using SQLBindCol, you cannot insert > of update data using SQLBindParameter. > > If you issue an INSERT INTO TestTable (ID,T) VALUES (?,?) and use > SQLBindParameter to bind an SQL_C_TIMESTAMP structure to the second > parameter, then the new row is inserted with the fractional part > truncated. Please try the test drivers 9.5.0105 at http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/ . regards, Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc