SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 European weeks in SQL Server CE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kman
Starting Member

6 Posts

Posted - 04/08/2007 :  07:10:39  Show Profile  Reply with Quote
Hi, I have a problem with the region settings on SQL Server Compact Edition.
To begin with, in my C# Windows Mobile app, I start with fetching records for the current month from SQL Server 2005 Express.
That works without any problems, however, when I try to filter these records locally by weeknumber something happends;
SQL Server CE uses Sunday as the first day of the week, which is inconvenient since I live in Europe
I tried to "SET DATEFIRST 1" in a query prior to the one fetching weekly records but that just result in an exception.

Does anyone know how to change the regional settings on SQL Server CE?

Edited by - kman on 04/08/2007 07:11:57
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000