Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Asiolinka
Contributor II
Contributor II

How to filter data timpe stamp via select in sql?

Hi All,

I need to load part of date (for 24/03/01), but in Oracle Sql Base data form is timestamp.

How can I succesffuly obtain it? How can I change date form after sql's 'where'?

Labels (3)
1 Solution

Accepted Solutions
maxgro
MVP
MVP

for Oracle db try

SELECT * FROM table
WHERE TRUNC(column) = TO_DATE('24-03-2001', 'DD-MM-YYYY')

View solution in original post

1 Reply
maxgro
MVP
MVP

for Oracle db try

SELECT * FROM table
WHERE TRUNC(column) = TO_DATE('24-03-2001', 'DD-MM-YYYY')