Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8786737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:42:54+00:00 2026-06-13T21:42:54+00:00

I am using Sql Server 2008 and one of our requirements is to provide

  • 0

I am using Sql Server 2008 and one of our requirements is to provide multi-lingual support. The main languages are English, German, French and Japanese.

I have a table which has its COLLATION as Latin1_General_CI_AS. The column that will store the text data has this COLLATION ‘Japanese_CI_AS’

When I run the following SQL in SQL Server Management Studio (SSMS)

DECLARE @translation nvarchar(max)
SET @translation = 'クッキー(Cookie)を許可してください'

PRINT @translation

UPDATE [ResourceTranslations]
SET Translation = @translation  
WHERE Id = 4

The value inserted is ‘????(Cookie)?????????’, which is also the value that is printed out.

Is there any chance that SSMS is having problems with the Japanese characters? It seems that the print statement is telling me that the value is being altered to ‘????(Cookie)?????????’ before it gets inserted in the table.

Any help or advice gratefully accepted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:42:55+00:00Added an answer on June 13, 2026 at 9:42 pm

    You are missing the N prefix required for string literals to be treated as nvarchar rather than varchar so the string literal gets coerced into varchar in your database’s default collation first losing those japanese characters in the process.

    The following should work as expected.

    DECLARE @translation nvarchar(max)
    SET @translation = N'クッキー(Cookie)を許可してください'
    
    PRINT @translation
    
    UPDATE [ResourceTranslations]
    SET Translation = @translation  
    WHERE Id = 4
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SQL Server 2008 Enterprise. I have a table and one of
Here is one very interesting problem. I am using SQL Server 2008. I have
i'm using SQL Server 2008 and, in one of my tables, i implemented a
Our application (using a SQL Server 2008 R2 back-end) stores data about remote hardware
I am using SQL Server 2008. One int column I used as primary key
Using SQL Server 2008 R2 we are looking for a way to select the
Using SQL Server 2008. I have multiple Locations which each contain multiple Departments which
Using SQL Server 2008, is there a way to allow inserts to a table
using : SQL Server 2008 R2, Entityframework 4.3.1 my scenario : I read my
I am using SQL Server 2008 R2, I have a script to update the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.