Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20074 invoked from network); 5 Oct 2005 16:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2005 16:42:12 -0000 Received: (qmail 19864 invoked by uid 500); 5 Oct 2005 12:42:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19842 invoked by uid 500); 5 Oct 2005 12:42:11 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 19830 invoked by uid 99); 5 Oct 2005 12:42:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 05:42:09 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EAB0721E for ; Wed, 5 Oct 2005 14:41:48 +0200 (CEST) Message-ID: <1467994631.1128516108958.JavaMail.jira@ajax.apache.org> Date: Wed, 5 Oct 2005 14:41:48 +0200 (CEST) From: "Vamsavardhana Reddy (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-602) SELECT statement does not return the first colum data correctly Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N SELECT statement does not return the first colum data correctly --------------------------------------------------------------- Key: DERBY-602 URL: http://issues.apache.org/jira/browse/DERBY-602 Project: Derby Type: Bug Versions: 10.1.1.0 Environment: Win XP, Sun JDK 142 Reporter: Vamsavardhana Reddy SELECT statement does not return the first colum data correctly. Here is the scenario. I have used "ij" for executing SQL. I have used the EmbeddedDriver and created a database. JDBC URL: 'jdbc:derby:mydb;create=true' I have created one table using the SQL given below: CREATE TABLE "USERS" ("USER" CHAR(10), "PASSWORD" CHAR(10)); I have inserted one row into this table using the SQL given below: INSERT INTO USERS VALUES ('user1', 'password1'); Retrieving rows from this table using the SQL statement "SELECT * FROM USERS" returns the data properly. Where as "SELECT USER, PASSWORD FROM USERS" retuns a value 'APP' for USER column data. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira