Re: Selecting timestamp from Database

From: Richard Harley <richard(at)scholarpack(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Selecting timestamp from Database
Date: 2013-04-08 13:49:43
Message-ID: 550656EB-8669-420C-8454-485C068EB8EF@scholarpack.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It's

Column | Type | Modifiers
--------------+-----------------------------+-------------------------------------------------------------------
attendanceid | integer | not null default nextval('attendance_attendanceid_seq'::regclass)
entered | date | not null default ('now'::text)::date
timeperiod | character(2) |
timestamp | timestamp without time zone | default now()

On 8 Apr 2013, at 14:48, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:

> On 04/08/2013 06:45 AM, Richard Harley wrote:
>> I am running the query straight through PSQL so there are no other programs or adapters.
>>
>> The field definition is just 'timestamp'.
>
> From psql what do you get if you do?:
>
> \d attendance
>
>>
>> I did try that as well - no luck :)
>>
>> Rich
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-04-08 13:51:57 Re: PostgreSQL Downgrades
Previous Message Pete Wall 2013-04-08 13:49:18 Re: PostgreSQL Downgrades