Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL result different from VFP8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00971482
Message ID:
00971504
Vues:
19
So, is it a bug in VFP8 that is now corrected in VFP9?

I had thought that I could use "COUNT FOR ..." or "SELECT .. FROM ...", and get the same result. In order to move to VFP9 and not break my app would you suggest I SET ANSI ON?


>If SET ANSI is off than VFP9 result is correct. In the query with SET ANSI OFF comparison is only performed to the lenght of the shortest operand regardless if it is on the left or the right of the '=' sign. IOW, ALLTRIM() of empty ln value will produce zero lenght string which will match any expression on the right.
>The rules are different for comparison in non-sql statements and covered in help for SET EXACT command.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform