Guest User

Untitled

a guest
Jul 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. select txtdate from table where txtdate is not null and TO_DATE(txtdate, 'DD/MM/YYYY') <= trunc(sysdate)
  2.  
  3. select * from (
  4. select txtdate from table where txtdate is not null
  5. ) t where TO_DATE(txtdate, 'DD/MM/YYYY') <= trunc(sysdate)
Add Comment
Please, Sign In to add comment