🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #556

UPPER(Memo field)

#556
From: David Jones
Date: Thu, 08 Oct 1998 00:00
18 lines
1039 bytes
I've tried to use the following SQL code in VdB 7.01, where Companies is 
a DBF table and Contacts is a Memo field and contact is a character 
variable with upper-case values:-

UPDATE Companies SET Tempflag1=0 WHERE UPPER(Contacts) NOT LIKE 
'%'+:contact+'%'

This results in the error 'Type mismatch in expression'.

However, the same code without the UPPER() function works OK but is, of 
course, case-sensitive.

The problem appears to be peculiar to Memo fields - character fields work 
OK.

Can anyone advise on this one, please?

Dave
Technical Details
Message-ID: <361D8690.3544@compuserve.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,2fe72fe88314414f,start
X-Google-Attributes: gidff5a1,public
From: David Jones <106510.502@compuserve.com>
Subject: UPPER(Memo field)
Date: 1998/10/08
Message-ID: <361D8690.3544@compuserve.com>
X-Deja-AN: 399103477
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql