Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 4th, 2005, 02:05 PM
AFK AFK is offline
Registered User
Join Date: Feb 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date conversion

Old February 4th, 2005, 04:14 PM
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

Well the problem is EXPD will always throw off a smalldatetime conversion. Do you have a select list of these other expressions? Can you make the data more standard on the types of other expressions allowable? I don't think there is a time checker function that checks to see if the time is a valid time, but you could create your own function; if a valid time, return the time, otherwise, return null or an empty string, or zero.

Old February 4th, 2005, 05:14 PM
Friend of Wrox
Join Date: Jan 2004
Location: , , USA.
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts


Similar Threads
Thread Thread Starter Forum Replies Last Post
UNIX Date Conversion darrenb Access 4 March 11th, 2008 06:27 AM
Date conversion Issue dhay1999 Access 2 May 30th, 2007 06:47 AM
Date Conversion ashokparchuri General .NET 2 May 31st, 2005 01:26 AM
Date conversion lily611 General .NET 6 December 6th, 2004 12:41 AM
Conversion from string to date kshantik Access 2 May 19th, 2004 12:17 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.