🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Converting DATE. TIME, and TIMESTAMP values for SQL

#11259
From: Edward Diener
Date: Sun, 01 Dec 2002 19:34
11 lines
1439 bytes
How does one convert:

1) A 32-bit integer date value to an acceptable SQL value for a DATE column,
or does a 32-bit numeric value suffice ?
2) A 32-bit integer time value to an acceptable SQL value for a TIME column,
or does a 32-bit numeric value suffice ?
3) A 64-bit large integer value to an acceptable SQL value for a TIMESTAMP
column, or does the 64 bit numeric value suffice ?

Essentially what are the acceptable values for inserting or updating a DATE,
TIME, or TIMESTAMP value in an SQL statement in Interbase ?
Technical Details
Message-ID: <3dea6388$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,c9629bca0d33469f,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-01 11:38:50 PST
From: "Edward Diener" <eddielee@tropicsoft.com>
Newsgroups: borland.public.interbase.sql
Subject: Converting DATE. TIME, and TIMESTAMP values for SQL
Date: Sun, 1 Dec 2002 14:34:08 -0500
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 216.175.67.251
Message-ID: <3dea6388$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038771080 216.175.67.251 (1 Dec 2002 11:31:20 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail