Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: results are different in PL/SQL Post Reply Post New Topic
Author Message
laurag
Newbie
Newbie


Joined: 29 Jul 2010
Online Status: Offline
Posts: 2
Quote laurag Replybullet Topic: results are different in PL/SQL
    Posted: 29 Jul 2010 at 1:26am
Hi all,
 one of our developers has written some code in PL/SQL. When the code is run in PL/SQL, it returns the correct results:
TX Time On Date Program Name Episode Name and Number Slot Duration test
7:40 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   1, Sahara 0.67 60000
8:20 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   2, Rockies, The 0.67 60000
12:30 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   2, Rockies, The 0.5 45000
12:00 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   1, Sahara 0.5 45000

 

As it is supposed to return only results where the figures under the "Test" column are greater than 0 (zero).

When the same code is run via Crystal, the results are displaying 3 extra rows for which PL/SQL was correctly not reporting as the "test" value is supposed to be 0 :
 
TX Time On Date Program Name Episode Name and Number Slot Duration test
7:40 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   1, Sahara 0.67 60000
8:20 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   2, Rockies, The 0.67 60000
12:30 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   2, Rockies, The 0.5 45000
12:00 03/04/2010 Ray Mears' Extreme Survival (2) *84 are signed* Ray Mears: Extreme Survival (2): Ep   1, Sahara 0.5 45000
7:00 03/04/2010 Extreme Lives (1) Lord Of The Skies 0.67 60000
14:00 03/04/2010 Have I Got News For You (21) Have I Got News For You (21): Ep   6 *84 is PRE*# 0.67 60000
19:00 03/04/2010 Have I Got News For You (21) Have I Got News For You (21): Ep   6 *84 is PRE*# 0.67 60000
We are running Oracle 9i and version 9 of Crystal...I have tried to redo synonims and change cursors...but it still does not work...it seems that Crystal translates the results from PL/SQL in a different way...
Can you help?
Thanks
IP IP Logged
laurag
Newbie
Newbie


Joined: 29 Jul 2010
Online Status: Offline
Posts: 2
Quote laurag Replybullet Posted: 30 Jul 2010 at 12:51am
Does anybody know what this may be caused by?
Thanks
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.