Date/Region In SQL CE
From: Den (anonymous_at_discussions.microsoft.com)
Date: 05/18/04
- Next message: Jeff: "SQLCE to SQL2K to Replication"
- Previous message: Joćo Paulo Figueira [eMVP]: "Re: Retrieving images from SQL CE"
- Next in thread: Brad Syputa - MS: "RE: Date/Region In SQL CE"
- Reply: Brad Syputa - MS: "RE: Date/Region In SQL CE"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 May 2004 05:31:06 -0700
Hi,
I am developing an app in C# on a PDA using SQL CE.
It is to use British date format : dd/mm/yyyy.
I am having problems with the comparison of dates between dates entered in the app and the database.
I can format the dates in C# and then format dates using convert in SQL and compare the two..
However , I was wondering is it possible , when programmatically creating a database , to set the region and or date to British format.I would like to ensure that the default formatting for any date field is British.
If it's not possible to set the format for the whole database is it possible to specify the format in a create table statement or to add some type of constraint to ensure the date is formatted correctly.
Thanks,
Den
- Next message: Jeff: "SQLCE to SQL2K to Replication"
- Previous message: Joćo Paulo Figueira [eMVP]: "Re: Retrieving images from SQL CE"
- Next in thread: Brad Syputa - MS: "RE: Date/Region In SQL CE"
- Reply: Brad Syputa - MS: "RE: Date/Region In SQL CE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|