开发者

Turkish character problem in select query - SQL Server

SELECT [ID]
  ,[Name]
  ,[Markup]
  ,[Status] FROM [dbxyz].[dbo].[Block] WHERE Name = 'Hakkımızda'

Linq2Sql sends this query to SQL Server 2005 but because of the character problem (ı) it does not get the right 开发者_StackOverflowdataset as a response. No rows returns.

I can not change the collation of database because it is a hosted service and I have no right to do so. I tried to change collation in column level but it did not work. What can I do?

Thanks


Is the column Block in the database declared with the proper collation? Introduce the Turkish I issue. Note that the collation must be declared even for Unicode Nchars.


I think I'm gonna use ExecuteQuery. ( Bad job! :( )

http://weblogs.asp.net/scottgu/archive/2007/08/27/linq-to-sql-part-8-executing-custom-sql-expressions.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜