Hello all!
I'm attempting to retrieve the records from table X where DAT is greater than 31/12/2004 9am
The WHERE clauses I've tried so far:
WHERE dat > '31/12/2004 9:00:00'
WHERE dat > '31/12/2004 9:00:00 AM'
WHERE dat > '31/12/2004 9:00:00 AM CET'
all return the error ORA-01830: date format picture ends before converting entire input string
What is the correct format to represent Oracle's datetime in SQL?
I'm attempting to retrieve the records from table X where DAT is greater than 31/12/2004 9am
The WHERE clauses I've tried so far:
WHERE dat > '31/12/2004 9:00:00'
WHERE dat > '31/12/2004 9:00:00 AM'
WHERE dat > '31/12/2004 9:00:00 AM CET'
all return the error ORA-01830: date format picture ends before converting entire input string
What is the correct format to represent Oracle's datetime in SQL?