🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Using functions in ADO SQL ( example upper() ) rises an error.. WHY??

#2278
From: Paolo Borlandi
Date: Mon, 29 Sep 2003 11:34
14 lines
1181 bytes
I have this SQL string on a TADOQuery table on builder 5:

TADOQuery->SQL->Add( "select FILECODE from .FILESPEC WHERE upper(PATH) =
'C:\\PROGRAMS'" );

An error is shown:

undefined function 'upper' in expression.

I'm shure is missing something! What?

THANK YOU VERY MUCH!!!

Paolo From Italy
Technical Details
Message-ID: <3f781a9b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,adc7c67a95079db3,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-09-29 05:01:39 PST
From: "Paolo Borlandi" <pborlandi@virgilio.it>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Using functions in ADO SQL ( example upper() ) rises an error.. WHY??
Date: Mon, 29 Sep 2003 13:34:02 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 212.171.28.100
Message-ID: <3f781a9b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1064835739 212.171.28.100 (29 Sep 2003 04:42:19 -0700)
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail