Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

HPQC 10 SQL query error - Oracle as Database

$
0
0

Hi All,

 

I am trying to run the query from Site admin, however getting the below error:

 

Query:

select sh.USER_NAME as "User Name", PROJECT_NAME as "Project",
MAX(START_TIME) as "Last Login Date and Time",
Count (sh.USER_NAME) as "Total Login Count"
FROM QCSITEADMIN_DB.td.SESSIONS_HISTORY sh LEFT OUTER JOIN
QCSITEADMIN_DB.td.USERS on sh.USER_NAME =
QCSITEADMIN_DB.td.USERS.USER_NAME
where START_TIME < to_date('2014-11-26','yyyy-mm-dd')
GROUP BY sh.USER_NAME, PROJECT_NAME
ORDER BY sh.USER_NAME

 

 

Error:

ORA-00933: SQL command not properly ended.

 

If i try to run in Oracle Client same error and showing the error at line 5.

 

Please help me where am I wrong??

 

Thank you for your help.

 

Regards,

Kanchan


Viewing all articles
Browse latest Browse all 5491

Trending Articles



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