Browse by Tags

Converting to datetime
Converting to a datetime can be a dangerous game. If the month is specified as a word then the date format is unambiguous but very often the year, month and day are all numeric. In this case the conversion can easily be misinterpretted if done in the...
The YearMonth - a simple User-Defined Type
Dealing with data that relates to a particular year and month can cause problems in a database. You can store it as a datetime but then you have to decide whether to use the first of the month or the last. If you use the last then you need to work out...