Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collation
Message
 
 
À
21/04/2008 06:55:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Divers
Thread ID:
01312027
Message ID:
01312037
Vues:
17
>There are 30 tables with difference collations. How can i make them the same?

Collation is stored on a column level so you'll have to modifi all columns in question. You may also want to modify collation for a database itself to appropriate default collation.
ALTER DATABASE DatabaseName COLLATE CollationName
ALTER TABLE TableName 
    ALTER COLUMN ColumnName1 COLLATE CollationName
ALTER TABLE TableName 
    ALTER COLUMN ColumnName2 COLLATE CollationName
...
Chek also http://support.microsoft.com/kb/325335
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform