🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: memofields

#135
From: Steve Koterski
Date: Wed, 20 Jan 1999 00:00
32 lines
1833 bytes
On Wed, 20 Jan 1999 22:10:59 +0100, "Jens Korth" <XJens.KorthX@wanadoo.fr>
wrote:

>OK, upper and lower does not work in SQL statements with memofields.
>So I assume that it is also a "feature" that memofields do not work for a
>string concatenation:
>
>select memofield1||memofield2  as test from ..........

None of the SQL string functions and the CAST function work with memo or
BLOB columns in local SQL. Use of functions like UPPER and LOWER did work
under 16-bit BDE, but that was because SQL was simply translated to
(Paradox) QBE for execution. When the 32-bit version of the BDE came out, a
true SQL engine was used. The primary reason for this was better compliancy
with the SQL-92 specification, but it also introduced some functionality
changes.

The functions below work with CHAR columns, but cannot be used with memo
columns.

  CAST
  concatenation function (||)
  LOWER
  SUBSTRING
  TRIM
  UPPER

//////////////////////////////////////////////////////////////////////////
Steve Koterski                       "For people who like peace and quiet:
Technical Publications               a phoneless cord."
INPRISE Corporation                                             -- Unknown
http://www.inprise.com/delphi
Technical Details
Message-ID: <36a95792.20339191@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <785h2r$ekd8@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,aab0e12e4b9e80b9
X-Google-Attributes: gidff5a1,public
From: skoterski@NOSPAMinprise.com (Steve Koterski)
Subject: Re: memofields
Date: 1999/01/20
Message-ID: <36a95792.20339191@forums.inprise.com>
X-Deja-AN: 434981693
Content-Transfer-Encoding: 7bit
References: <785h2r$ekd8@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: INPRISE Corporation, Technical Publications
Mime-Version: 1.0
Reply-To: skoterski@NOSPAMinprise.com
Newsgroups: borland.public.vdbase.data.sql