Is there a database to store posts in any national language or who sent a tutorial, thank you very much
He wants to support multiple languages, so only changing the collation won't do the trick.Quote:
Delete all databases - > recreate them using a Chinese collation -> change your applications codepages to a Chinese one.
Thats most likely all you have to do
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.Quote:
He wants to support multiple languages, so only changing the collation won't do the trick.
Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):
[Only registered and activated users can see links. Click Here To Register...]
As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.
When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
Thank you, but re-establish, I won'tQuote:
Delete all databases - > recreate them using a Chinese collation -> change your applications codepages to a Chinese one.
Thats most likely all you have to do
Yes, my problem is this.Quote:
He wants to support multiple languages, so only changing the collation won't do the trick.
Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):
[Only registered and activated users can see links. Click Here To Register...]
As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.
When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
Yes, I want this.Quote:
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.
[Only registered and activated users can see links. Click Here To Register...]Quote:
He wants to support multiple languages, so only changing the collation won't do the trick.
Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):
[Only registered and activated users can see links. Click Here To Register...]
As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.
When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
The thread title even says "ANY national lanuage" :thinking:Quote:
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.
If you just want chinese, go on and set the collation to a chinese one on database or server level and re-create the databases.Quote:
[Only registered and activated users can see links. Click Here To Register...]
This is the name I created in Chinese, click on it and click here.
select * from sys.fn_helpcollations() where [name] like 'Chinese%'
Thank you, the main thing is that I won'tQuote:
The thread title even says "ANY national lanuage" :thinking:
If you just want chinese, go on and set the collation to a chinese one on database or server level and re-create the databases.
To see what collations are available on your server, execute the following query:
For me, the results look like that:Code:select * from sys.fn_helpcollations() where [name] like 'Chinese%'
[Only registered and activated users can see links. Click Here To Register...]
See what fits your requirements, the collation is mainly for the sort order of characters. But that could be different for a complex language like chinese.
Set your codepage everywhere to the one used for chinese
- see [Only registered and activated users can see links. Click Here To Register...]
Our results don't have to be the same - you have to decide what collation you need. I am not into the chinese language, so you'll have to go trough that list and choose the one that fits your requirements.Quote:
Thank you, the main thing is that I won't
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Use this to use this
Quote:
Our results don't have to be the same - you have to decide what collation you need. I am not into the chinese language, so you'll have to go trough that list and choose the one that fits your requirements.
After that, you can check this site which covers a few scenarios when changing the collation: [Only registered and activated users can see links. Click Here To Register...]