Subject | Re: [firebird-support] timestamp a column |
---|---|
Author | Martin Suer |
Post date | 2004-06-25T22:49:47Z |
Milan Babuskov wrote:
create aTable(
col1..coln,
col_time timestamp default 'now'
);
Bye
Martin Suer
> Dixon Epperson wrote:Try this:
>> I would like to add a column to a table and have the server
>> assign the current time on each new insert. much like a default
>> value. If possible, how would I do this?
>>
>> Create aTable(
>> col1.. coln,
>> col_time default CurrentTime
>> );
create aTable(
col1..coln,
col_time timestamp default 'now'
);
Bye
Martin Suer