I am trying to run a report that shows total number of documents added by user in a specific time frame. For example, total number of documents a user added in 2010. I am using the following, but receiving an error as shown below.
Any help appreciated.
select count(*),userid,k.name from dtree d,kuaf k where subtype = 144
and createdate between %1 and %2and d.userid = k.id group by userid,k.name
Error received :
| |
| Content Server Error: Error processing request. [ORA-00911: invalid character - select count(*),userid,k.name from dtree d,kuaf k where subtype = 144and createdate between ? and ?and d.userid = k.id group by userid,k.name] |