Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Comparison Troubleshoot
Message
De
16/01/2007 14:33:24
 
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 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01186021
Message ID:
01186028
Vues:
25
>That works.
>
>Is something wrong with my query??

When you use SQL, if Ansi=off, then 'SS'='S'. Set Ansi is the same as Set exact, only Ansi is for SQL.

>>>Hi Friends,
>>>
>>>Facing a problem with a simple query.
>>>I have a table T1 having 4 fields, fld4 C(4) has two sets of value 'S'/'SP'
>>>
>>>Now when i run a query
>>>Select * from T1 where fld4 <> 'S'
>>>
>>>I expect it to return me rows having fld4 values as 'SP' but it doesn't.
>>>My environment
>>>SET ANSI OFF
>>>SET EXACT ON
>>>
>>>Am i going wrong in such a small query... I must be over worked . I guess.
>>>Thanks.
>>
>>Try
>>
>>Select * from T1 where not fld4 == 'S'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform