🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Insert date/time on trigger

#11009
From: Arno Brinkman
Date: Mon, 23 Dec 2002 07:50
16 lines
1439 bytes
Hi,

> Hi there, qorks great, but what kind of datatype is that????
>
> Is that a String  or DATETIME or TIMESTAMP????

CURRENT_DATE  datatype DATE
CURRENT_TIME  datatype TIME
CURRENT_TIMESTAMP  datatype TIMESTAMP

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

Yes, use AsDateTime for them.

Groeten,
Arno Brinkman
Technical Details
Message-ID: <3e06c072@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e060c20$1@newsgroups.borland.com> <3e061d85@newsgroups.borland.com> <3e0653a9$1@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-23 00:09:30 PST
From: "Arno Brinkman" <bnewsgroups @ abvisie.nl>
Newsgroups: borland.public.interbase.sql
References: <3e060c20$1@newsgroups.borland.com> <3e061d85@newsgroups.borland.com> <3e0653a9$1@newsgroups.borland.com>
Subject: Re: Insert date/time on trigger
Date: Mon, 23 Dec 2002 08:50:06 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 213.116.168.56
Message-ID: <3e06c072@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1040629874 213.116.168.56 (22 Dec 2002 23:51:14 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail