Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET COLLATE and SELECT SQL
Message
From
07/05/1998 15:58:44
 
 
To
07/05/1998 12:40:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097194
Message ID:
00097841
Views:
40
>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+'%'.

Why WHERE LastName LIKE ?parameter+'%' cannot be used in VFP? If you don't like to use UPPER(LastName) and corresponding tags, then provide that all names stored in upper case in database.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform