Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
ElevateDB Technical Support
»
Support Forums
»
ElevateDB SQL
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Short Date
Thu, Oct 9 2008 12:58 PM
Permanent 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 PM
Permanent Link
Roy Lambert
NLH Associates
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
Roy Lambert [Team Elevate]