Home » Developer & Programmer » Reports & Discoverer » UNABLE TO RUN THE SQL IN REPORT 3.0 (Oracle, 8.1.7,0.0 / Server Manager 3.1.7.0.0 / Windows Server 2003)
UNABLE TO RUN THE SQL IN REPORT 3.0 [message #479900] Wed, 20 October 2010 01:00 Go to next message
kumarvk
Messages: 214
Registered: July 2004
Senior Member
Hi,

I am having the following sql but unable to run in Report 3.0

SELECT LIC_NO, RO_NO, RO_DTIME, HANDLED_BY,ROW_NUMBER()
   OVER (PARTITION BY HANDLED_BY ORDER BY RO_NO) AS emp_id
   FROM mss_veh_input_test;
Re: UNABLE TO RUN THE SQL IN REPORT 3.0 [message #479916 is a reply to message #479900] Wed, 20 October 2010 04:00 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I don't think that your "ancient" version of Reports Builder is capable of handling "advanced" analytical functions (such as ROW_NUMBER).

Perhaps you could try to create a view (in a database; 8.1.7, I believe, handles ROW_NUMBER just fine) and then base your report on that view.
Re: UNABLE TO RUN THE SQL IN REPORT 3.0 [message #479928 is a reply to message #479916] Wed, 20 October 2010 04:38 Go to previous messageGo to next message
cookiemonster
Messages: 13960
Registered: September 2008
Location: Rainy Manchester
Senior Member
Or you could try upgrading to a version of reports that's actually supported and was developed this century.
Re: UNABLE TO RUN THE SQL IN REPORT 3.0 [message #480064 is a reply to message #479916] Wed, 20 October 2010 21:57 Go to previous message
kumarvk
Messages: 214
Registered: July 2004
Senior Member
Hi,

I got it thanks for giving me the idea to create view.
Previous Topic: Report Formatting
Next Topic: Print dialog box (doesn't appear)
Goto Forum:
  


Current Time: Mon Dec 02 10:20:17 CST 2024