🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Windows 2000 ODBC does't support LEFT, RIGHT (SQL) function?

#5571
From: Nadarajah Nandakumaran
Date: Fri, 30 Mar 2001 13:42
14 lines
1184 bytes

I have a database Measurement with a field DateAndTime. I save
"20010330130600" to DateAndTime field.

When I use this:
SELECT LEFT(DateAndTime, 8) AS yyyymmdd, RIGHT(DateAndTime, 6) AS hhnnss
FROM Measurement WHERE .....

I get  following result:  (MEMO)  (MEMO)
Why?. It works with an older Windows 2000 ODBC files.


N. Nandakumaran
Technical Details
Message-ID: <3ac48d27_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!130.67.136.106

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2c4b48966efaf7ab,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-03-30 06:14:04 PST
From: "Nadarajah Nandakumaran" <nanda@spray.no>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Windows 2000 ODBC does't support LEFT, RIGHT (SQL) function?
Date: Fri, 30 Mar 2001 15:42:11 +0200
Lines: 17
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: 130.67.136.106
Message-ID: <3ac48d27_1@dnews>
X-Trace: 30 Mar 2001 05:41:59 -0800, 130.67.136.106
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!130.67.136.106