🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5767

SQL, Insert Date

#5767
From: Jorge Leibowich
Date: Thu, 08 Feb 2001 17:04
11 lines
1392 bytes
I'm trying to insert or select a date in a paradox database with Tquery
Object, but NOTHING!! Only errors, I'm tryied ALL

Select * from xxx where TheDate = '10/10/10'
Select * from xxx where TheDate = 10/10/10
Select * from xxx where TheDate = #10/10/10#
Select * from xxx where TheDate = ?10/10/10?
Select * from xxx where TheDate = :10/10/10:

And nothing works, are there an especial way to manage dates or time fields?
And with TimeStamp fields?
Technical Details
Message-ID: <3a82d19e_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.47.26.91

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f91783d41c11e6ad,start
X-Google-Attributes: gid10698b,public
X-Google-Thread: 10bf25,f91783d41c11e6ad,start
X-Google-Attributes: gid10bf25,public
X-Google-ArrivalTime: 2001-02-08 09:05:49 PST
From: "Jorge Leibowich" <jorge@lid.com.ar>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.desktop
Subject: SQL, Insert Date
Date: Thu, 8 Feb 2001 14:04:07 -0300
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 200.47.26.91
Message-ID: <3a82d19e_1@dnews>
X-Trace: 8 Feb 2001 09:04:30 -0800, 200.47.26.91
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.47.26.91