Hello Experts,
I have to get the total number of documents approved by one of our clients.I am using the following query to get the total number of record in a specific year but still getting 0 results.Could you please let me know what is going wrong with this query?
select count(*) from dm_audittrail where event_name = 'dm_signoff' AND user_name = 'Frank Pignataro ' AND string_3 = 'MIS Director Approval' AND time_stamp like '%2012%';
Or
select count(*) from dm_audittrail where event_name = 'dm_signoff' AND user_name = 'Frank Pignataro ' AND string_3 = 'MIS Director Approval' AND time_stamp between date('01/01/2010') and date('31/12/2010');
Please reply....
Thank you
Alpa