Reply to Re: Weekday names

Your name:

Reply:


Posted by Erland Sommarskog on 01/04/07 09:27

Jim Andersen (jba020@politiSLET.dk.invalid) writes:
> Sql server 2000 -> sql query analyzer
> select datename(dw,'01-01-2006')
>
> returns sunday
>
> Now I do:
> set language danish
> select datename(dw,'01-01-2006')
>
> returns sonday. But it should be søndag. Same goes for
> saturday/lordag/lørdag
>
> Tried substring'ing and ascii'ing/unicode'ing and it is AFAIK an o instead
> of the special danish character ø.
>
> Is this a "feature" or am I doing something wrong?

Rather bug. It appears to be fixed in SQL 2005.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация