Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Short Date
Thu, Oct 9 2008 12:58 PMPermanent Link

Scott Woods
Is there a way to use a short date format in a query?  For example

SELECT * FROM Jobs WHERE JobDate > 1/1/08
Thu, Oct 9 2008 1:25 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Scott


The sensible answer - Nope all dates have to be expressed in ANSI format

The silly to stupid answer - YES. All you have to do is format the column appropriately eg

CAST(SUBSTR(JobDate,1,POS('/',CAST(JobDate AS VARCHAR)+'/'+etc etc

or something like that Smiley

Roy Lambert [Team Elevate]
Image