Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your question is not clear enough. Do you</p> <p>1) want to make a separate copy of your database for your Russian customers?</p> <p>2) want to support Russian in the same DB that already supports English and Latvian ?</p> <p>So here is my answers for both</p> <p>1) In SQL Management Studio right click the database, select Tasks -> Generate scripts -> Script all objects in selected database = true, Finish. script all database objects. then in any text editor open this script and perform replace of strings 'Latvian_CI_AS' to 'Cyrillic_General_CI_AS'</p> <p>NOTE: database collation can be changed with ALTER DATABASE but it will not change collations of all existing columns if they have non-default collations. </p> <hr> <p>2) If you would like to have full Unicode support in your database (so Latvian, English and Russian words can be stored in the same column), you need to convert all VARCHAR , CHAR and TEXT fields to NVARCHAR, NCHAR, NTEXT</p> <p>In this case I will also recommend you to create database script, replace VARCHAR to NVARCHAR , CHAR to NCHAR, TEXT to NTEXT</p> <p>Then with the help of Tasks/Import data... wizard you will transfer data from old database to new one (if you need this data).</p> <p>Another possibility, if you have a few tables, just go to SQL Management Studio and change types to Unicode types manually. </p> <p>One could say it is also possible to do with <strong>alter table t alter column name nvarchar(size)</strong> script but if you have any constraint or defaults attached to this column, you will get an error <em>ALTER TABLE ALTER COLUMN name failed because one or more objects access this column.</em> and you will need to drop/create constraints in your script and this could be a nightmare...</p> <p>As CMS developer you will have to copy the database in any case, because when you convert everything in DB to unicode, I bet that in some places ASP/PHP code may stop working as expected. So having old and new copies will allow you to debug and fix problems one by one.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload