Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd SELECT result
Message
De
27/09/2002 11:45:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00705231
Message ID:
00705271
Vues:
10
>>>Hi all,
>>>
>>>Could someone please tell me what I'm doing wrong with this select statement.
>>>
>>>Select * from Exhibit where Lower(cWorkTitle)="te"
>>>
>>>This correctly gets all the exhibits with a cWorkTitle starting with "te" but it also get any records that have a blank cWorkTitle, why should that be?
>>>cWorkTitle is a Memo field is that significant?
>>
>>Caroline, since cWorkTitle is a Memo, perhaps you should try code like
Select * from Exhibit where Lower(LEFT(cWorkTitle, 2))="te"
Is that any better?
>
>Nope that still includes all the empty ones!
SELECT * FROM Exhibit WHERE LOWER(LEFT(cWorkTitle, 2)) == "te"
Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform