Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Conversion

Status
Not open for further replies.

deucesp97

MIS
Sep 14, 2000
13
US
I am using QMF to convert a character type into a date type.
Is this possible, if so how?

I have tried a few things but the recent is
SELECT DATE(ROUTE_DT)
FROM INVOICE;

The error message I am receiving is the datetime value is invalid. [sig][/sig]
 
SELECT ROUTE_DT
FROM INVOICE
WHERE ISDATE(ROUTE_DT) = 0
will often tell you what dates are giving you problems.
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top