Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL select brings record over even when not match
Message
De
15/09/2005 11:18:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/09/2005 11:14:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01049862
Message ID:
01049916
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Sorry forgot to CC my other reply. Left join causes it. Move that partt to where clause.
Cetin

>No, unfortunately it does not. The way this is going, I may just have to have another sql statement before this on that grabs all students that are not inactive and continue with the result table.
>
>Thanks for the help.
>Beth
>>
>>Beth,
>>Considering "inactive" casing is right in your code, might it be that returned rows with "INACTIVE" are something like [whitespace or nonprintablechar]+"INACTIVE"?
>>(or with set ansi on after INACTIVE has chars that's not a space).
>>
>>Does
!(ltrim(stu.enrollment_status) == 'INACTIVE')
help?
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform