Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 88927 invoked from network); 30 Aug 2010 14:35:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 14:35:34 -0000 Received: (qmail 45466 invoked by uid 500); 30 Aug 2010 14:35:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 45270 invoked by uid 500); 30 Aug 2010 14:35:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 45262 invoked by uid 99); 30 Aug 2010 14:35:32 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 14:35:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 14:35:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7UEYrmD008189 for ; Mon, 30 Aug 2010 14:34:53 GMT Message-ID: <2847468.69361283178893439.JavaMail.jira@thor> Date: Mon, 30 Aug 2010 10:34:53 -0400 (EDT) From: "C.S. Nirmal J. Fernando (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-4625) TIMESTAMP function doesn't accept nanoseconds In-Reply-To: <32681535.112341271847531633.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] C.S. Nirmal J. Fernando reassigned DERBY-4625: ---------------------------------------------- Assignee: C.S. Nirmal J. Fernando > TIMESTAMP function doesn't accept nanoseconds > --------------------------------------------- > > Key: DERBY-4625 > URL: https://issues.apache.org/jira/browse/DERBY-4625 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.5.3.0 > Reporter: Knut Anders Hatlen > Assignee: C.S. Nirmal J. Fernando > Priority: Minor > > The TIMESTAMP function fails if the string argument specifies the number of nanoseconds. It works if the argument is limited to microsecond resolution. > ij> values timestamp('2010-04-21 12:00:00.123456'); > 1 > -------------------------- > 2010-04-21 12:00:00.123456 > 1 row selected > ij> values timestamp('2010-04-21 12:00:00.123456789'); > ERROR 22008: '2010-04-21 12:00:00.123456789' is an invalid argument to the timestamp function. > Since Derby (and JDBC) supports nanosecond resolution, the TIMESTAMP function should also support it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.