September 4, 2006 at 7:57 am
Hi,
I've just attached a SQL Server 2005 database we're going to use, and the "central" table has 2 main columns, both NVarChar but one is SQL_Latin_General_CP1_CI_AS and the other is Latin_General_CI_AS
All text columns in the database are NVarChar and should be on the same collation. We're based in the UK and won't have anything but British English in the database.
Can anybody tell me which of these 2 collations I should be using?
September 5, 2006 at 5:57 am
- someone didn't pay attention when creating/altering the table.
- Latin_General_CI_AS is a "new" sqlserver2005 collation. This should have some advantages for NVarchar. http://msdn2.microsoft.com/en-us/library/ms143515.aspx
Check out the msdn article if you might have advantages with switching.
Anyway, if you switch, switch to the server's default collation if you can otherwise you may have problems when using tempdb-objects (or always declare the collation for #/##/@temptb-objects explicit)
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
September 5, 2006 at 6:47 am
Just a quick correction. Latin_General_CI_AS does not exist but Latin1_General_CI_AS exist in SQL Server 2005 but it is not new and has existed since SQL Server 2000 (when collations became more granular then on DB instance level).
P.S What is wrong with the Forums 'Quote' feature? When I use it my reply is not visible...
Edit: Like the below post. I used quote but my message tuned out like that:
September 5, 2006 at 6:48 am
Just a quick correction. Latin_General_CI_AS does not exist but Latin1_General_CI_AS exist in SQL Server 2005 but it is not new and has existed since SQL Server 2000 (when collations became more granular then on DB instance level).
September 5, 2006 at 6:52 am
Works well for me... maybe it's just an html formatting problem .
September 5, 2006 at 6:58 am
RGR'us: Thanx. But then it is browser independant, both Firefox and IE deals with it the same way (your quote is inside my message (my prior quote)). I have never seen anything similar. I hope my coorporate firewall has not started garbling the forum HTML responses (but it seems very unlikely since the effect is so localized).
Edit: P.S And this Reply turns out INSIDE my original quote, together with your reply/quote...
September 5, 2006 at 7:00 am
Thanks for the help, I've got it all nicely set to Latin1_General_CI_AS now.
I'm staying away from the Quote button!
September 5, 2006 at 7:01 am
I think the forum has gone crazy. I'ts not just you Hanslindgren
September 5, 2006 at 7:16 am
It's happened before... it's most likely and unclosed <table> statement that is causing this... nothing to worry about .
September 5, 2006 at 7:18 am
Damn, did I just fix it or did somebody else deleted/edited a post???
September 5, 2006 at 7:48 am
Hehe. Maybe someone closed that open ended <table> (if that was the problem)...
September 5, 2006 at 8:04 am
Wasn't me !
September 5, 2006 at 8:06 am
...or maybe some Admin that fixed the starting tag...
September 5, 2006 at 10:31 am
Maybe... but I think he has better things to do .
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply