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

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -