pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zuoxin.Wang@kp.org
To: pgsql-admin@postgresql.org
Date: Tue, 19 Apr 2005 13:27:09 -0700
Message-ID: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG> (raw)

Hi all,
Does any one know why I have following inconsistant results from 
PostgreSQL?
Thanks in advance.
 
test=# select birthday from patient;
  birthday
------------
 1960-02-01
 1960-02-01
(2 rows)

test=# select used from patient;
 used
------
 N
 N
(2 rows)


test=# select  first_name, last_name, used, birthday from patient;
 first_name | last_name | used |  birthday
------------+-----------+------+------------
   | 1960-02-01DI       | N
   | 1960-02-01DI       | N
(2 rows)

test=# select  first_name, last_name, birthday, used from patient;
 first_name | last_name |  birthday  | used
------------+-----------+------------+------
 AAAAAA     | TDI       | 1960-02-01 | N
 AAAAAB     | TDI       | 1960-02-01 | N
(2 rows)

test=#

Jason

view thread (5+ messages)  latest in thread

Message-ID: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>
Permalink:  ../OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG/
Also on:    postgresql.org/message-id/OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Zuoxin.Wang@kp.org
  Subject: Re: 
  In-Reply-To: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>
  References: <OF58EA8D58.3A5E272D-ON88256FE8.006FEA68@KP.ORG>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox