Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Processing Cube With Mix of English and Chinese/Japanese characters

$
0
0

I have a cube using a SQL Server 2008R2 database as its data source. All of the text fields in the database are configured as either NVARCHAR or NCHAR data types.

The table has a mix of English and Asian characters in it. When I go to process one of the dimensions, I get an attribute key cannot be found error. This is the query that is being executed by SSAS:

SELECT COUNT(*) FROM dbo.[Dim Applicant] WHERE Name = ',秀玲'

This returns 0 records, thus the error.

However, if I modify the query to force the search string to be Unicode, it returns 6 rows:

SELECT COUNT(*) FROM dbo.[Dim Applicant] WHERE Name = N',秀玲'

I checked the Collation settings on both the SQL Server and Analysis Services and the essentially match.

SQL Server --> SQL_Latin1_General_CP1_CI_AS
SSAS --> Latin1_General

What do I have to do to get this to work? I checked the data types of the fields SSAS is complaining about in the properties for each field and SSAS is correctly identifying the fields as Unicode (WSTR). Yet the processing queries sent to SQL Server don't force the values into Unicode.


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>