SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


collation issue raised by a system UNION query


collation issue raised by a system UNION query

Author
Message
Igor Micev
Igor Micev
SSCrazy Eights
SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)

Group: General Forum Members
Points: 9976 Visits: 5155
Here is the bug demonstration in sql server 2008r2

a. Check the Server Collation : should be SQL_Latin1_General_CP1_CI_AS
b. Create a login: abcd
c. Create a database: someDb with collation: Latin1_General_CI_AS_KS_WS
d. Create a user: abcd in database someDb and map it to login abcd
e. Now open properties of login “abcd”.
f. First open “User Mappings”.
g. Now open “Securables”, you will get error exception.

Here is the discussion:
http://connect.microsoft.com/SQLServer/feedback/details/336208/collation-issue-raised-by-a-system-union-query-looking-at-securables-page-of-a-users-properties#details

This is a bug in sql server 2008 r2 I'm facing now. It should have a fix available for this. Can anyone tell me with which service pack is this covered? or how to overpass this.

Thanks
IgorMi

Igor Micev,
My blog: www.igormicev.com
GSquared
GSquared
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54647 Visits: 9730
I'd go straight to Microsoft on this one, if Bing/Google/whatever doesn't pull something useful up straight off the error message.

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Igor Micev
Igor Micev
SSCrazy Eights
SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)

Group: General Forum Members
Points: 9976 Visits: 5155
Hi GSquared,

Yes sure, if it was for a production I'd have gone with microsoft directly. This is, fortunately, not a problem on productions as their databases have same collation as the server instance. I do restores from more productions on a test server , and the backups are coming with different collations. Moreover the test server is a virtual machine. I cannot make a system restore. I'll probably try with latest cumulative hotfixes for sql server 2008r2.

Additionally, can someone tell me if this is resolved with sql server 2012 ?

Thanks
IgorMi

Igor Micev,
My blog: www.igormicev.com
Igor Micev
Igor Micev
SSCrazy Eights
SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)

Group: General Forum Members
Points: 9976 Visits: 5155
Hi All,

If somebody was interested in this issue, I can contribute to it after experiencing on. After being searching the net for the concrete fix for the issue and finishing unsuccessfully, I downloaded the following cumulative fix: SQLServer2008R2-KB2703280-x64 and installed it. The issue was resolved.
I also tried using a Login with different databases with different collations on an sql server 2005 instance and it worked there without any issues.

Regards
IgorMi

Igor Micev,
My blog: www.igormicev.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search