Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET COLLATE and SELECT SQL
Message
De
07/05/1998 12:40:48
 
 
À
06/05/1998 16:38:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097194
Message ID:
00097741
Vues:
36
I created indexes with SET COLLATE TO 'GENERAL'. I set VFP session to SET COLLATE TO 'GENERAL'. But LIKE expression in WHERE clause is still case sensitive. That drives me crazy. I cannot replicate MS/SQL Server or ORACLE queries behaviour in VFP.
For my application that means if customer decides to move into C/S database I will have to change the views to replicate their behaviour. For example, last name search would be in VFP: WHERE LastName = ?parameter, but in SQL Server: WHERE LastName LIKE ?parameter+'%'.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform