Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Collation
Message
 
 
To
23/01/2011 18:20:55
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01497097
Message ID:
01497153
Views:
68
This message has been marked as the solution to the initial question of the thread.
Try Latin1_General_BIN and Latin1_General_BIN2

SQL Server does not distinguish between metadata and data in regard to collations. IOW, there's no global settings to tell SQL Server to assign metadata different collation.

>Which collation in SQL Server 2008 most closely matches VFP? Filtering in the Where clause is case-sensitive in VFP, and so is sorting for the Order By clause, which my guess is in ASCII/ANSI order. These are not the default for SQL Server. SQL_Latin1_General_CP1_CS_AS appears the make filtering case sensitive, but not sort order. SQL_Latin1_General_CP437_BIN looks pretty close on the surface, but I'm wondering if anyone has found a better match. I want SQL query results to match existing VFP queries as closely as possible.
>
>Also, I don't want the table/field names in SQL queries to be case-sensitive. Does that mean I need to set the collation for every column in SQL Server, or is there a better way?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform