Megosztás a következőn keresztül:


How to: Set Column Collation

A column's collation sequence is used in any operation that compares values of the column to another column or to constant values. If all of the users of your instance of Microsoft SQL Server speak the same language, you should pick the collation that supports that language. For example, if all of the users speak French, choose the French collation.

If the users of your instance of Microsoft SQL Server speak multiple languages, you should pick a collation that best supports the requirements of the various languages. For example, if the users generally speak western European languages, choose the Latin1_General collation.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To Set Column Collation

  1. In Server Explorer, right-click the table with columns you want to modify and click Open Table Definition.

    The table opens in Table Designer.

  2. Select the column for which you want to set the collation.

    The properties for that column appear in the Column Properties tab.

  3. Click Collation and then click the ellipses () to the right of the property.

    The Collation dialog box appears.

  4. Choose collation settings for the selected column in the Collation dialog box.

See Also

Reference

Collation Dialog Box

Other Resources

Working with Columns