|
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
Navigation:
[Reply to this message]
|