I have the following in my SQL where clause. This is running against an Oracle database. The timestamp field is defined in the database as a timestimp field. my select query is :
create index ind_timestamp on sms_in(to_char(timestamp,'YYYY-MM-DD'));
select * from sms_in where to_char(timestamp,'YYYY-MM-DD')in '2018-08-01';
but when I'm tring to execut the query the database acces is full. That means the indexing doesn't work.