Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server Collation Question
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
SQL Server Collation Question
Divers
Thread ID:
00949841
Message ID:
00949841
Vues:
54
Hi

I was wondering what is the preferred setting for SQL-Server collation. The first time I installed it I accepted the default settings only to discover that SQL-Server rejected some of my data complaining about duplicate key values. I then discovered that it was treating the key values as case-insensative.

So then I installed it setting the collation to binary only to discover that now I had to be careful to match the case on table and field names etc. Now I am wondering what is the best practice for collation.

I also wondered what the syntax was for setting the collation on an individual field when you create the table. I am thinking that the only place I want case sensitive collation is on my key field. I know I can use the Enterprise Manager to manually set the collation on individual fields but I would prefer to do it as part of "Create Table - SQL".

As you can see I am new to SQL-Server and .Net and I am having "lots of fun" learning all the differences that I took for granted in VFP.

Thanks
Simon White
Simon White
dCipher Computing
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform