How to write this postgres sql query to oracle? -


following postgres sql query have used. need change query run in oracle.

select distinct d.id,                 d.title,                 d.entityname,                 d.abstract,                 d.url,                 d.ranking,                 d.forwardemail,                 d.technologyclass,                 d.technology,                 d.product,                 d.technologytype,                 d.comments,                 d.status,                 d.year,                 d.day,                 d.month,                 d.entitytype,                 d.entitysource,                 d.chapter,                 d.country,                 d.region,                 d.address   research_data d  d.status = 'a'        , d.id in(select e.parent_id                      research_data_history e                     e.changed_date::date = to_date('02-01-13', 'mm-dd-yy'))  

what have tried? getting error when running in oracle? should have remove ::date sub select.

select   e.parent_id   research_data_history e   e.changed_date = to_date('02-01-13', 'mm-dd-yy') 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -