🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Comment programmer une sous chaine

#94
From: Jean-Claude BRUEL
Date: Sun, 05 Nov 2000 00:00
19 lines
973 bytes
Bonjour,

En D4 sous W98 j'ai �crit

with sql do
begin
	add ('SELECT nom,prenom,substring(date,4,7) as exptri from' +
source);
	add ('ORDER by exptri');
end;

D4 me sort
Le projet PSAISRS;exe a provoqu� une classe d'exception EDBEngineError
avec le message 'Utilisation incorrecte du mot clef. El�m�nt : ,4,7)
Num�ro de ligne 1

Une erreur de syntaxe ? Mais comment fallait-il �crire ?

Merci.
Technical Details
Message-ID: <3a05d334.13426260@news.club-internet.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: ff5a1,170c6677e7dbf159,start
X-Google-Attributes: gidff5a1,public
From: jcbruel@geneanet.org (Jean-Claude BRUEL)
Subject: Comment programmer une sous chaine
Date: 2000/11/05
Message-ID: <3a05d334.13426260@news.club-internet.fr>
X-Deja-AN: 690041824
X-Trace: front1.grolier.fr 973460333 2302 213.44.25.19 (5 Nov 2000 21:38:53 GMT)
Organization: Club-Internet (France)
Reply-To: jcbruel@geneanet.org
NNTP-Posting-Date: 5 Nov 2000 21:38:53 GMT
Newsgroups: borland.public.vdbase.data.sql