I’m trying to pull records from bizdoc table using CUSTOM QUERY using the date range. But I could pull only records with hours >= 1 and <= 12
Example below query its working
select * from bizdoc a where a.doctypeid=‘EDIINT------------------’
and a.doctimestamp between ‘24-APR-13 01.00.01’ and ‘25-APR-13 01.00.01’;
But not the below; what needs to be done. Any help on these please.
select * from bizdoc a where a.doctypeid=‘EDIINT------------------’
and a.doctimestamp between “24-APR-13 00.00.01” and “25-APR-13 00.00.01”;
Yes you are right there is not option for the Custom inputs like in TA.
But you might want to take some DBA help if you still want to run the custom db query against TN internal tables as some of the timestamps not works as expected.
select * from bizdoc a where a.doctypeid=‘EDIINT------------------’
and to_char(a.doctimestamp,‘dd-MM-yy HH-MI-SS AM’) between ‘23-04-13 04-51-46 AM’ and ‘25-04-13 04-51-46 AM’
Query: select * from bizdoc ${where}
Input: where doctypeid=‘EDIINT------------------’ and to_char(doctimestamp,‘dd-MM-yy HH-MI-SS AM’) between ‘23-04-13 04-51-46 AM’ and ‘25-04-13 04-51-46 AM’