Thankyou very much Florian for i got the out put ![]()
![]()
![]()
i have one more problem like the query is given below
SELECT u."name", "firstname", "lastname", "email", to_char( to_date ("creationdate", 'MM-DD-YYYY')) AS "creationdate",
to_char( to_date ("lastloggedin", 'MM-DD-YYYY')) AS "LastLoggedDate", "value" AS "companyname"
FROM jive.jiveuser u,
(SELECT "userid", "name", "value"
FROM jive.jiveprofilefield f,
jive.jiveuserprofile up
WHERE f."name" IN ('Company') AND f."fieldid" = up."fieldid") AS C
WHERE C."userid" = u."userid" AND
to_char( to_date ("creationdate", 'MM-DD-YYYY')) BETWEEN '04-12-2015' AND '04-19-2015' AND
to_char(to_date ("lastloggedin", 'MM-DD-YYYY')) > '04-12-2015';
when i try to execute its giving below error
Could not execute 'SELECT u."name", "firstname", "lastname", "email", to_char( to_date ("creationdate", 'MM-DD-YYYY')) ...' in 270 ms 606 µs .
[303]: invalid DATE, TIME or TIMESTAMP value: search table error: [6931] attribute value is not a date or wrong syntax
please suggest me the solution the above issue
Regards
Naresh P