Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Re: Need help with select within select - daterange

$
0
0

Easiest way to do this is to create the report against a SQL Query via the 'Add Command' option. The SQL would be:

 

Select * from ACCOUNTBILLFEE A Where Exists

(Select * from ACCOUNTBILLFEE B where B.FOLDERSN = A.FOLDERSN AND B.STAMPDATE IN (TO_DATE('2014/05/01 00:00:01', 'YYYY/MM/DD HH24:MI:SS' TO TO_DATE('2014/05/31 23:59:59', 'YYYY/MM/DD HH24:MI:SS'))

 

-Abhilash


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>