• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Inserting ä into a MSSQL database by cold fusion

New Here ,
Dec 14, 2012 Dec 14, 2012

Copy link to clipboard

Copied

I have a parameter in my mssql databse with a type of nvarchar. When I try to insert a character chr(228)

ä

I get the ? in my database instead of

ä

Any one who can help.

Thanks in advance for your response.

Views

490

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 15, 2012 Dec 15, 2012

Copy link to clipboard

Copied

Try this:

INSERT INTO TBL(unicodeCol) VALUES (N'#chr(228)#')

Reference: http://support.microsoft.com/kb/239530

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 15, 2012 Dec 15, 2012

Copy link to clipboard

Copied

LATEST

Thanks a lot for your response, I did enable de non-latin in my DSN through cf admin and it works.

Thanks again

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation