Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with collation
Message
From
12/01/2013 16:42:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
12/01/2013 15:18:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01562323
Message ID:
01562329
Views:
30
>hi, how are you, I have the following problem I have an application with VFP9 and SQL Server 2005 when run on a PC with Windows XP runs fine but when I try to do it on a server running Windows 2003 Server collation gives me error generates modern_spanish_ci_As with latin1_ general I can do

You can change the collations of all the *char and text fields to be the same, preferably with something like

alter table mytable alter column field1 [column type here] collate database_default

Two troubles here:
1) one column at a time (which can take some time for large tables)
2) for columns involved in indexes or constraints and a few other cases, you can't do this without either re-creating the table or dropping all those constraints and indexes, then re-creating them.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform