Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
PME2020-Adding and Managing Web Content via the Application Framework-Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and " Chinese_PRC_CI_AS " in the replace operation.
Question
The issue is related to PME9.0 Application Note-- Adding and Managing Web Content via the Application Framework. In this document’s prerequisites—"A system running Power Monitoring Expert version 9.0 or higher”.So we think it can be used for PME2020.
Since this is a project for Chinese customer, the OS,SQL, choose Chinese version; PME2020 install choose Chinese language.
But when we try to run the -- Add an Application Tab.sql—got the following error:
a
Error message:
Msg 468, Level 16, State 9, Line 43
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and " Chinese_PRC_CI_AS " in the replace operation.

Answer
On the Chinese server can you run the following SQL on the ApplicationModules database to determine what Collation the tables have?

SELECT col.name, col.collation_name FROM sys.columns col WHERE object_id = OBJECT_ID('[Configuration].[ConfigurationItemType]')
SELECT col.name, col.collation_name FROM sys.columns col WHERE object_id = OBJECT_ID('[Configuration].[ConfigurationItem]')

This should tell us what collation the Tables are using.
cid:62f7ae75$2$16f8f0b4d07$Coremail$haojingjing.hz$163.com

Then we can match the collation in the replace statement by adding it behind the value we are replacing. (I have bold what was added to the replace statement)

Example: REPLACE(@id COLLATE SQL_Latin1_General_CP1_CI_AS,'&', '&') or REPLACE(@id COLLATE Chinese_PRC_CI_AS,'&', '&') depending on which collation you need to match to.

Schneider Electric Malaysia

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

    Start your sales enquiry online and an expert will connect with you.

I'd like to receive news and commercial info from Schneider Electric and its affiliates via electronic communication means such as email, and I agree to the collection of information on the opening and clicks on these emails (using invisible pixels in the images), to measure performance of Schneider Electric's communications and to improve them. For more details, please read our Privacy Policy.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings