Any idea why the plan gets different ?
Guys,
Please can anyone explain this behavior ?
I get different plans by changing the date literal.
Look at the query :
SELECT distinct A.XCM_CONSUMER_PK
FROM
(SELECT
cu10.XCM_CONSUMER_PK,
cu10.COUNTRY_ISO3_C,
cu10.CUST_CUSTOMER_R,
cu10.CUST_BRAND_C,
cu10.CUCON_CNTCT_ST_S,
cu10.CUCON_CNTCT_R
FROM
xcm_cu10_contact cu10,
xcm_vo01_vehofint vo01
WHERE
cu10.xcm_consumer_pk = vo01.xcm_consumer_pk (+) AND
cu10.cucon_cntct_st_s = vo01.cucon_cntct_st_s (+) AND
cu10.cucon_cntct_r = vo01.cucon_cntct_r (+) AND
--cu10.cucon_cntct_st_s > SYSDATE - 796
cu10.cucon_cntct_st_s > '01-JAN-2004'
) A
WHERE ( A.COUNTRY_ISO3_C = 'ESP'
AND A.CUST_BRAND_C = 'F'
AND ( A.CUCON_CNTCT_ST_S >= SYSDATE - 28)
);For the above query i get :
| Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 28 | 1428 | 358 | | |
| 1 | SORT UNIQUE NOSORT | | 28 | 1428 | 358 | | |
| 2 | MERGE JOIN OUTER | | 28 | 1428 | 333 | | |
|* 3 | TABLE ACCESS BY GLOBAL INDEX ROWID| XCM_CU10_CONTACT | 28 | 784 | 41 | 3 | 3 |
|* 4 | INDEX FULL SCAN | SYS_C00404663 | 284K| | 26 | | |
|* 5 | SORT JOIN | | 18604 | 417K| 292 | | |
|* 6 | INDEX FAST FULL SCAN | XCM_VO01_VEHOFINT_IDX001 | 18604 | 417K| 189 | | |But when i change the - cu10.cucon_cntct_st_s as below
SELECT distinct A.XCM_CONSUMER_PK
FROM
(SELECT
cu10.XCM_CONSUMER_PK,
cu10.COUNTRY_ISO3_C,
cu10.CUST_CUSTOMER_R,
cu10.CUST_BRAND_C,
cu10.CUCON_CNTCT_ST_S,
cu10.CUCON_CNTCT_R
FROM
xcm_cu10_contact cu10,
xcm_vo01_vehofint vo01
WHERE
cu10.xcm_consumer_pk = vo01.xcm_consumer_pk (+) AND
cu10.cucon_cntct_st_s = vo01.cucon_cntct_st_s (+) AND
cu10.cucon_cntct_r = vo01.cucon_cntct_r (+) AND
cu10.cucon_cntct_st_s > SYSDATE - 796
--cu10.cucon_cntct_st_s > '01-JAN-2004'
WITH READ ONLY) A
WHERE ( A.COUNTRY_ISO3_C = 'ESP'
AND A.CUST_BRAND_C = 'F'
AND ( A.CUCON_CNTCT_ST_S >= SYSDATE - 28)
); And the plan goes :
| Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 4 | 204 | 122 | | |
| 1 | SORT UNIQUE | | 4 | 204 | 122 | | |
| 2 | NESTED LOOPS OUTER | | 4 | 204 | 100 | | |
|* 3 | TABLE ACCESS BY LOCAL INDEX ROWID| XCM_CU10_CONTACT | 4 | 112 | 92 | 3 | 3 |
|* 4 | INDEX RANGE SCAN | XCM_CU10_IDX_001 | 7301 | | 2 | 3 | 3 |
|* 5 | INDEX RANGE SCAN | XCM_VO01_VEHOFINT_IDX001 | 1 | 23 | 2 | | |
-----------------------------------------------------------------------------------------------------------------I know this due the the way the date literal is used but i need to be more clearer. Please some one can explain ?
Thanks
G
I am on 9.2.0.7
The READ ONLY is an extract of the view.
Well, i think i figured it out. I think it's due to the date format which Oracle chose..
By writing this way, Oracle chooses the same plan.
But my doubt still remains..
SELECT distinct A.XCM_CONSUMER_PK
FROM
(SELECT
cu10.XCM_CONSUMER_PK,
cu10.COUNTRY_ISO3_C,
cu10.CUST_CUSTOMER_R,
cu10.CUST_BRAND_C,
cu10.CUCON_CNTCT_ST_S,
cu10.CUCON_CNTCT_R
FROM
xcm_cu10_contact cu10,
xcm_vo01_vehofint vo01
WHERE
cu10.xcm_consumer_pk = vo01.xcm_consumer_pk (+) AND
cu10.cucon_cntct_st_s = vo01.cucon_cntct_st_s (+) AND
cu10.cucon_cntct_r = vo01.cucon_cntct_r (+) AND
--cu10.cucon_cntct_st_s > SYSDATE - 796
to_date(cu10.cucon_cntct_st_s,'DD-MON-YYYY') > to_date('01-JAN-2004','DD-MON-YYY')
) A
WHERE ( A.COUNTRY_ISO3_C = 'ESP'
AND A.CUST_BRAND_C = 'F'
AND ( A.CUCON_CNTCT_ST_S >= SYSDATE - 28)
[PRE[
Similar Messages
-
Any ideas why the sound only works on about half of my apps?
Any ideas why the sound on my ipad only works on about half of my apps?
The problem of tracks becoming de-linked between iTunes and the music files in your iTunes music folder happens for different reasons - this seems to come up fairly commonly in this forum.
The solution can be to locate each song in the iTunes library, as you mentioned - or, but wait, before I get to that...
trouble finding the original track in your iTunes music folder? maybe look for it under compilations, or if not using the 'group compilations preference' then look in the folder under the songs artist name, but what song artist name iTunes uses depends on what you have in the metedata tag spot for album artist or song artist. Any varyation in artist name spelling, in the menu item 'get info' metadata for any selected individual track will cause iTunes to create that as a separate artist folder in the library, even names like 'various' or any difference at all (even the word 'the' can change where in your iTunes music folder a track gets placed by iTunes). You can try to use the finder function of find file (finder munu item outside of iTunes) to locate hard to find items.
Back to how to re-link any de-linked tracks .
There may be scripts that can help re-link de-linked music files - or, at least provide you a list of such files, Scripts are easy to install and use...
at Dougs Scripts, there is one called iTunes Track CPR that might work
http://dougscripts.com/itunes/scripts/ss.php?sp=itunestrackcpr
or, if you just want a list of de-linked tracks, go to
http://dougscripts.com/itunes/
and find the script called List MIA's, this will create a text file listing all de-linked tracks
if you review the thread at
https://discussions.apple.com/thread/3633708
also the thread at
https://discussions.apple.com/message/17513078#17513078
you may find more insight into dealing with this kind of issue there, although some of that thread may not apply to your case, aspects of it might help.
Good luck. -
Any idea why the applets starts but nothing works?
I am 1 month old. Here is small training program that I am trying. Any idea why the applet is running but nothing works?
thanks
package javaapplication1;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.*;
import javax.swing.*;
public class MoneyCollect extends JApplet implements ActionListener {
private JLabel promt;
private JTextField input;
private int total;
public void main(String [] args){
Container c = getContentPane();
c.setLayout( new FlowLayout() );
promt = new JLabel ("Enter number of hours");
input = new JTextField (10);
input.addActionListener(this);
c.add(promt);
c.add(input);
public int calculateCharges(int hrs){
if ( (hrs>=0) && (hrs<=3) && (hrs != 24) ){
total = 2*hrs;
if((hrs>=3)&& (hrs<24) && (hrs != 24)){
total = (int) (((hrs - 3) * 0.50) + 6);
if (hrs == 24){
total = 10;
return total;
public void actionPerformed(ActionEvent e) {
int hrs = Integer.parseInt(e.getActionCommand());
showStatus ("You have to pay:"+calculateCharges(hrs));
}...because changing this:
public class MoneyCollect extends JFrameto this:
public class MoneyCollect extends JAppletdoes not create an applet. Get a beginning java book and start reading it. I recommend "Java2: A Beginner's Guide".
Or, you can read the following tutorial to learn why your program is not an applet:
[http://java.sun.com/docs/books/tutorial/deployment/applet/getStarted.html] -
HI! any idea why the add videos on apple site are not loading on my computer?
HI! any idea why the add videos on apple site are not loading on my computer?
You may have something as simple as a corrupt cache. Try resetting in Safe Mode and see if that fixes it. If not another thing to attempt is opening Disk Utility and Repairing Disk Permissions, do this action 2-3 times.
-
Any ideas why the video camera on my imac is not working?
Does any one have any idea why the video camera on my imac is not working? I have been using skype on my imac for some time and recently I have discovered that it wont work, could this have anything to do with the mountain lion upgrade?
Have a look here: http://support.apple.com/kb/HT2090?viewlocale=en_US
I think I'd start with the SMC reset. -
I have Creative Cloud and just downloaded Ae... but it is version CS6... not CC2014.1 . Any idea why the download is for an older version?
If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
* Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Trash the current Firefox application to do a clean (re-)install
* Install the new version that you have downloaded
Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
* http://kb.mozillazine.org/Profile_folder_-_Firefox -
My iphone 4 lock screen/power button just stopped working. nothing spilled on it and not been dropped. Any idea why it stopped working?
Kat Goddess wrote:
Any idea why it stopped working?
I have no idea why it stopped working. But why it failed does not matter.
Take it to an Apple Store or Authorized Apple Repair Center and have it assessed and see what it would take to get it working. -
The sissor tool is making arbitrary cuts, in areas I have not specified. I have used this tool alot. Has previously worked as desired.
Any idea what might be controling it to act this way?
Thank you.Hi
Snap value set to something like Bar/Beat?
CCT -
I downloaded Firefox this morning to solve some explorer problems, and made Firefox my default browser. I play Lexulous (scrabble) through gmail, but firefox will not load the actual game board. Any ideas?
Apple Portables: Troubleshooting the slot load optical disc drive
-
Any ideas why the Linksys WRVS4400N ain't on the Product Registeration anymore?
Hey guys!
When I wanna register my router,I can't find it! It's not on the list! Any ideas? And I can't find the WRVS4400N firmware page,is there anyone who can post it for me?!
Thanks!
(Mod note: Edited post for guideline compliance. Thanks!)
Message Edited by JOHNDOE_06 on 07-12-2009 06:33 AM
Yours Faithfully, iR0cKtHeBl0cK,
................!Hacking Boss!................Cisco has completed the "takeover" of Linksys and all "business grade" products have been transferred over to Cisco's web site.
-
Any ideas why the second HOST call does not work???
Hi Folks.
I have written the following code which works fine in all but one respect.
The code creates a zip file on a server (Accessed over a network) hence the full windows network path name.
The call to host on the server works in terms of running the zipinvoices.bat file and the zip file is generated on the server in the correct location.
The prigram unit also generates the correctly formatted mailinvoices.bat file. However, the second call to HOST does not run/execute the mailinvoices.bat file. If I go to the server and run the mailinvoices.bat file directly, it runs perfectly and emails the file to me, no problemo.
Why does the second call to HOST from the client machine not run?
Any clues anyone???
Cheers
Simon Gadd
PROCEDURE send_email_invoices_pu_p (p_organisation IN VARCHAR2) IS
v_processing_cycle CHAR(4);
v_alert_but NUMBER;
v_error_num NUMBER;
v_sent_status NUMBER(1);
v_stage NUMBER(1);
v_year VARCHAR2(4);
v_month VARCHAR2(9);
v_folder_name VARCHAR2(25); -- Name of the file which holds the 'Printed' invoices in the receivables folder. v_organisation VARCHAR2(50);
v_password VARCHAR2(25);
v_organisation VARCHAR2(25);
v_host_command VARCHAR2(100);
v_from_name VARCHAR2(100);
v_to_name VARCHAR2(100);
v_subject VARCHAR2(100);
v_error_txt VARCHAR2(200);
v_file VARCHAR2(200);
v_message VARCHAR2(500);
v_line_buffer VARCHAR2(5000);
v_working BOOLEAN := TRUE;
v_zipinvoices_bat TEXT_IO.FILE_TYPE;
v_mailinvoices_bat TEXT_IO.FILE_TYPE;
CURSOR c_sent_status IS
SELECT sent
FROM INVOICE_EMAIL
WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
CURSOR c_select_folder IS
SELECT folder
FROM INVOICE_EMAIL
WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
CURSOR c_select_email_elements IS
SELECT send_to,
send_from
FROM INVOICE_EMAIL
WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
BEGIN
v_organisation := p_organisation;
-- Check to see if the invoices have already been e-mailed for this Procssing Cycle. If they have,
-- then warn the user of this and get them to confirm that they wish to proceed and e-mail them again.
-- The batch e-mail process will re-zip the invoices (ignoring a pre existing .zip file) and overwrite
-- the existing zip file if it exists or generate it if it does not exist.
OPEN c_sent_status;
FETCH c_sent_status INTO v_sent_status;
CLOSE c_sent_status;
IF v_sent_status = 1 THEN
v_alert_but := SHOW_ALERT('SEND_AGAIN_ALRT');
IF v_alert_but = ALERT_BUTTON2 THEN RAISE FORM_TRIGGER_FAILURE;
ELSE NULL;
END IF;
END IF;
:CONTROL.WORKING := 'Started Zipping invoices for '||INITCAP(v_organisation)||'.'||CHR(10)||'Please wait..';
SYNCHRONIZE;
-- The following code opens the zipinvoices.bat file which resides in the root folder \\Ebony\c$\FCSS\DB_SCRIPTS\ and modifies it ready to
-- zip up the invoices in the relevant organisation's invoice folder for the current processing cycle.
v_processing_cycle := GET_CURRENT_TRAFFIC_PERIOD;
v_month := RTRIM(INITCAP(TO_CHAR(TO_DATE(v_processing_cycle, 'MMYY'), 'MONTH')));
v_year := (TO_CHAR(TO_DATE(v_processing_cycle, 'MMYY'), 'YYYY'));
OPEN c_select_folder;
FETCH c_select_folder INTO v_folder_name;
CLOSE c_select_folder;
KILL_OLD_ZIP_PU_P('del \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices.zip');
SELECT zip_password
INTO v_password
FROM INVOICE_EMAIL
WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
v_zipinvoices_bat := TEXT_IO.FOPEN('\\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat', 'w');
v_line_buffer := 'cd..';
TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
v_line_buffer := 'cd..';
TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
v_line_buffer := 'wzzip -s'||v_password||' -x*.zip -ybc \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\*.*';
TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
v_line_buffer := 'exit';
TEXT_IO.PUT_LINE (v_zipinvoices_bat, v_line_buffer);
TEXT_IO.FCLOSE (v_zipinvoices_bat);
-- The following code executes the freshly edited \\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat file to produce the zipped invoices file
-- ready to be e-mailed out to the address specified in the INVOICE_EMAIL table for the relevant organisation.
v_host_command := '\\Ebony\c$\FCSS\DB_SCRIPTS\zipinvoices.bat';
v_stage := 1;
HOST (v_host_command, NO_SCREEN);
IF NOT Form_Success THEN
IF v_stage = 1 THEN
:CONTROL.WORKING := 'Error -- The .zip file for '||INITCAP(v_organisation)||' was not produced.';
SYNCHRONIZE;
ELSIF v_STAGE = 2 THEN
:CONTROL.WORKING := 'Error -- The zipped invoices file for '||INITCAP(v_organisation)||' was not emailed.';
SYNCHRONIZE;
END IF;
ELSE NULL;
END IF;
:CONTROL.WORKING := 'All invoices for '||INITCAP(v_organisation)||' successfully zipped.'||CHR(10)||'Attempting to send via e-mail.'||CHR(10)||'Please wait..';
SYNCHRONIZE;
-- The following code e-mails the freshly created .zip file for the relevant organisation and e-mails it to the
-- recipient specified in the relevant row in the INVOICE_EMAIL programme along with from address, subject and
-- message if specified.
OPEN c_select_email_elements;
FETCH c_select_email_elements INTO
v_to_name,
v_from_name;
CLOSE c_select_email_elements;
v_stage := 2;
v_mailinvoices_bat := TEXT_IO.FOPEN('\\Ebony\c$\FCSS\DB_SCRIPTS\mailinvoices.bat', 'w');
v_line_buffer := 'cd..';
TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
v_line_buffer := 'cd..';
TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
v_line_buffer := 'clemail -quiet -smtpserver mailhost.0800dial.com -smtpport 25 -to '||v_to_name||' -from '||v_from_name||' -subject "'||v_month||' '||v_year||' Roaming Traffic Invoices from United Clearing Ltd" -bodyfile \\Ebony\c$\FCSS\DB_SCRIPTS\invoice_body.txt -attach \\Ebony\c$\FCSS\CYCLE_DATA\'||v_processing_cycle||'\receivables\'||v_folder_name||'\invoices.zip';
TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
v_line_buffer := 'exit';
TEXT_IO.PUT_LINE (v_mailinvoices_bat, v_line_buffer);
TEXT_IO.FCLOSE (v_mailinvoices_bat);
v_host_command := '\\Ebony\c$\FCSS\DB_SCRIPTS\mailinvoices.bat';
HOST (v_host_command, NO_SCREEN);
IF NOT Form_Success THEN
IF v_stage = 1 THEN
:CONTROL.WORKING := 'Error -- The .zip file for '||INITCAP(v_organisation)||' was not produced.';
SYNCHRONIZE;
ELSIF v_STAGE = 2 THEN
:CONTROL.WORKING := 'Error -- The zipped invoices file for '||INITCAP(v_organisation)||' was not emailed.';
SYNCHRONIZE;
END IF;
ELSE NULL;
END IF;
UPDATE INVOICE_EMAIL
SET sent = 1
WHERE UPPER(ORGANISATION) = UPPER(v_organisation);
COMMIT;
GO_BLOCK ('INVOICE_EMAIL');
EXECUTE_QUERY;
:CONTROL.WORKING := 'Please press a button on the left to e-mail invoices to the organisations listed.';
SYNCHRONIZE;
EXCEPTION
WHEN OTHERS THEN
v_error_num := SQLCODE;
v_error_txt := SUBSTR(SQLERRM, 1, 200);
MESSAGE('The error was: '||v_error_txt||' and the code was: '||v_error_num);
RAISE FORM_TRIGGER_FAILURE;
END;As a suggestion I'd put the Text_io segments into their own begin - exception - end sub-blocks within the main code. This way if Text_io does raise an exception you can catch it earlier as it may be able to recover - That is if it is a text_io exception.
Other than that you;ll have to step through in Debug. -
Any idea why I'm getting an "Illegal locator capture://audio_video" error
Player p = Manager.createPlayer("capture://audio_video");
p.realize();
RecordControl rc = (RecordControl)p.getControl("RecordControl");
ByteArrayOutputStream output = new ByteArrayOutputStream(64000);
rc.setRecordStream(output);
rc.startRecord();
p.start();
rc.commit();
p.close();
I'm running the program within the cellphone simulator provided. Its not giving an error if its "capture://audio" but I get a null pointer exception with "capture://video".
Would it have something to do with where the file is stored or the format? On a sidenote, when I try to load a regular movie file using "capture://video" for simple playback, I don't hear any audio.Player p = Manager.createPlayer("capture://audio_video");
p.realize();
RecordControl rc = (RecordControl)p.getControl("RecordControl");
ByteArrayOutputStream output = new ByteArrayOutputStream(64000);
rc.setRecordStream(output);
rc.startRecord();
p.start();
rc.commit();
p.close();
I'm running the program within the cellphone simulator provided. Its not giving an error if its "capture://audio" but I get a null pointer exception with "capture://video".
Would it have something to do with where the file is stored or the format? On a sidenote, when I try to load a regular movie file using "capture://video" for simple playback, I don't hear any audio. -
HT1937 any idea why the iphone in the freezer turns wifi back on but i still cant connect
Hi
Greyed out wifi i then put it in the freezer for 30 mins wifi came back on Wifi can be switched on and off still but it will not connect or pick up any wifi connections.Help?Hi
Greyed out wifi i then put it in the freezer for 30 mins wifi came back on Wifi can be switched on and off still but it will not connect or pick up any wifi connections.Help? -
Can you look at my code and give me any idea why the pie garph doesnt show?
Hi..
i use beans to create an pie graph and i dont know how i can add data to it,i mean what data must be pass to it.. as u know in column and line graph there is an x-axis and y-axis and in pie there no x or y axis..i need 2 categories and one value to put on it.
and the code is :
CURSOR C_DETAIL IS
SELECT REF_TYPE ,
REF_YEAR ,
REF_NUM ,
ACT_DATE ,
UNREL_PROF_LOSS , ----------------->(value)
TO_CHAR(ACT_DATE , 'DD/ MM/ YYYY') ,----------->(Category1)
LPAD(TO_CHAR(REF_TYPE),2,'0')||'/'||
LPAD(TO_CHAR(REF_YEAR),2,'0')||'/'||
LPAD(TO_CHAR(REF_NUM),6,'0') "DEAL_NUM"--------->(Category2)
FROM BOND_ACT
WHERE ISSUE_NUM = :KEY.ISSUE_NUM AND
ISSUE_NUM_ABB = :KEY.ISSUE_NUM_ABB AND
ISSUER_ID = TO_NUMBER(:KEY.ISSUER_ID ) AND
ACT_DATE >= TO_DATE(:KEY.FROM_DATE,'J') AND
ACT_DATE <= TO_DATE(:KEY.TO_DATE,'J') AND
ACT_TYPE = 6
ORDER BY REF_TYPE , REF_YEAR , REF_NUM , ACT_DATE;
BEGIN
set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'CLEAR_GRAPH','');
SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'DEBUG','TRUE');
VD := ',';
COUNTER := 0;
OPEN C_DETAIL;
FETCH C_DETAIL INTO var1,var2,var3,var4,value,Category1,Category2;
while (C_DETAIL%FOUND) LOOP
CDATA := X||VD||'PIE GRAPH'||VD||X;
set_custom_property ('CHART_DISP.SIMPLEGRAPH',1,'ADD_ROWDATA',CDATA);
COUNTER := COUNTER +1;
FETCH C_DETAIL INTO var1,var2,var3,var4,value,Category1,Category2;
END LOOP;
SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'GRAPHTYPE','PIE_GRAPH');
SET_CUSTOM_PROPERTY('CHART_DISP.SIMPLEGRAPH',1,'COLUMNCOUNT','');
set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'ADD_DATA_TO_GRAPH','');
CLOSE C_DETAIL;
set_custom_property('CHART_DISP.SIMPLEGRAPH',1,'SHOW_GRAPH','');
EXCEPTION
WHEN OTHERS THEN
MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
end;Hi,
please see the html help file (graph90.html) that comes with the Graph bean sample. The debug option is enabled with a call to set_custom_poperty('blockname.beanarea',1,'DEBUG', true)
The messages are written to teh JInitiator console (see right bottom corner of windows to open)
Frank -
Can U look at my code and give me any idea why the scatter garph didnt work
Hi,
i use this code to create a scatter graph using bean in oracle 10g forms and it didnt show the points.. it only show an empty graph although the cursor return data..Please if anyone know whats the problem i would be so thankful.
And here is the code:
DECLARE
cursor c is
SELECT
FRA_YEAR, -----> X
TOTAL_AMT_IN_BASE -----------> Y
FROM TMP_GRPH
ORDER BY FRA_YEAR;
cdata varchar2(2000);
vd varchar2(2);
X NUMBER;
Y NUMBER;
COUNTER NUMBER;
cdata varchar2(2000);
vd varchar2(2);
X NUMBER;
Y NUMBER;
COUNTER NUMBER;
BEGIN
set_custom_property('CHART.SIMPLEGRAPH',1,'CLEAR_GRAPH','');
SET_CUSTOM_PROPERTY('CHART.SIMPLEGRAPH',1,'DEBUG','TRUE');
VD := ',';
COUNTER := 0;
OPEN C;
FETCH C INTO X,Y;
while (C%FOUND) LOOP
CDATA := X||VD||X||VD||Y||VD||Y;
set_custom_property('CHART.SIMPLEGRAPH',1,'ADD_ROWDATA',CDATA);
FETCH C INTO X,Y;
END LOOP;
set_custom_property('CHART.SIMPLEGRAPH',1,'GRAPHTYPE','SCATTER_GRAPH');
set_custom_property('CHART.SIMPLEGRAPH',1,'ADD_DATA_TO_GRAPH','');
CLOSE C;
set_custom_property('CHART.SIMPLEGRAPH',1,'SHOW_GRAPH','');
EXCEPTION
WHEN OTHERS THEN
MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
MESSAGE('SQLCODE='||SQLCODE||SQLERRM);
end;
note:
FRA_YEAR is the X-axis
TOTAL_AMT_IN_BASE is the Y-axis
Thanks alot
Eyad BasheerHi,
please see the html help file (graph90.html) that comes with the Graph bean sample. The debug option is enabled with a call to set_custom_poperty('blockname.beanarea',1,'DEBUG', true)
The messages are written to teh JInitiator console (see right bottom corner of windows to open)
Frank
Maybe you are looking for
-
Hello, I am completely new to the BW system, but I have some very urgent task to complete. I need somebody's help urgently. My requirement is below... In BI reporting we are displaying HR head count information(reading data from R/3) on portal, based
-
Transfer existing website to CS6 Business Catalyst as web host and few technical support issues
Hi, I need assistance with transferring an existing website - imagessays.com - (designed with Dreamweaver CS4) to my Creative Cloud CS6 account - to web hosting by CS6 Business Catalyst. Beyond that, need advice as to how to repair a coup
-
ISE Integration to SAP Afaria MDM
Hi Experts, Good Day! Anybody here already have a chance to integrate ISE 1.2 to SAP Afaria MDM? Can you give me some advise because I always have some issues about it. Thank you. niks
-
Hi, In a region source I have the following Link text , but every time I go into the page (in the same application) it asks me for password. How can I avoid this? Thank you
-
Having problems with the app store
Hi my brother has a 8gb 4th generation iPod touch and everytime we try to download an app, or update a game it says "Your account is not valid for use in the U.S store. You must switch to the Canadian store before purchasing." How do I switch to the