🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11008

Re: Insert date/time on trigger

#11008
From: Rim Ranshuijsen
Date: Mon, 23 Dec 2002 00:07
24 lines
1584 bytes
Hi there, qorks great, but what kind of datatype is that????

Is that a String  or DATETIME or TIMESTAMP????

And can i read it with the regular ibquery.FieldByName().AsDateTime ????

tnx Rim

"Arno Brinkman" <bnewsgroups @ abvisie.nl> schreef in bericht
news:3e061d85@newsgroups.borland.com...
> Hi,
>
> > i'm using D6 and Interbase 6
> > I want to insert the system time from database server when a new record
is
> > inserted, so i tried the folowing trigger:
>
> If your using Dialect 3 then use CURRENT_TIME
>
> Regards,
> Arno
>
>
>
Technical Details
Message-ID: <3e0653a9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e060c20$1@newsgroups.borland.com> <3e061d85@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,f09676422c57901b
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-22 16:09:33 PST
From: "Rim Ranshuijsen" <rim@novicom.nl>
Newsgroups: borland.public.interbase.sql
References: <3e060c20$1@newsgroups.borland.com> <3e061d85@newsgroups.borland.com>
Subject: Re: Insert date/time on trigger
Date: Mon, 23 Dec 2002 01:07:05 +0100
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.84.151.204
Message-ID: <3e0653a9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1040602025 213.84.151.204 (22 Dec 2002 16:07:05 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail