I want all records which exist than particular date timestamp and the table create_datetime column.
When this query is run, it should provide all the records for the day greater than create_datetime with a particular 18:00:00
I want all records which exist than particular date timestamp and the table create_datetime column.
When this query is run, it should provide all the records for the day greater than create_datetime with a particular 18:00:00
Your question text is a bit chopped up but what I think is you want every record where the time element of the create_date
is after 18:00. If so, this query will get that. It uses the date format mask SSSSS
which returns date as the number of seconds after midnight.
select * from your_table
where to_number(to_char(create_date, 'SSSSS')) >= (18 * (60*60))
and some_other_date >= trunc(sysdate)
The other part of that query is a wild guess, because like I said, your question has been lost in translation. I have plumped for "records where some other date column has been set to today's date".