Auto Insert date/time

From: impala <bhnnc(at)yahoo(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Auto Insert date/time
Date: 2002-04-08 06:06:54
Message-ID: 20020408060654.18294.qmail@web14909.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What 'serial' does for auto incrementation of intgers,
are there something similar in PSQL where the db can
autoinsert the correct date/time data each time you
add a new row , without have to specify the code e.g.
Date() class in a java/C++ file? If well, how do I
manage to make this work? Is there maybe an PSQL
function which can do it? AN example will be nice :)

Big Thanks
Smith

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bo Lorentsen 2002-04-08 07:05:48 Re: Inherit or Foreign Keys
Previous Message Stephan Szabo 2002-04-08 05:31:03 Re: retun cursor