See the empty table if there is no data
HelloI have a line chart in a dashboard page, which shows sales of the company in a given country (chosen by guest). When I choose a country that has no data, the system displays message: "no results - specified criteria result in all data. I want that in this scenario, appears an empty array. Is it possible? How do I change my application? Thank you
Giancarlo
OK, in this case, you must change the join in the repository. Let's say you have a table 'months' and a fact table. Join the two tables, but use a right join (where the table is the table with the months). This way, you will get all values in the table of months, associated with the data in the fact table. During these months does not, you will see the value null. You can set a zero with a case statement.
I hope this helps.
J. -.
Tags: Business Intelligence
Similar Questions
-
Can't see the new table in the PS Group Manager
Sorry guys, I'm kinda new to storage management. I worked in existing bays built by the last person who was here. Now that he is gone, I was charged with the addition of two additional paintings/members to our existing EqualLogics. Problem is that I see the 2 members in Group Manager, but not the 2 new ones. We have a data center managed by 3rd party and they say that they have wired everything in. Both are supposed to be cross-connected series via a connection to one of our servers and the other in an existing table. Now physically I don't know how everything is connected. I console just in Workgroup Manager. I don't see new members there. I tried to connect from one of the servers connected using PuTTY and the connection series. I've used sides of Baud has offered online. But I can't connect what either. Sorry if this sounds very basic - but what don't get me? How to see these devices to even configure the network adapters and RAID?
Thanks for any help guys
Hmm... what exactly do you mean with "the table is connected to the active controller?
Guys in your data center can make the photo of the back of the EQL? See the two CMs with the cables and the LEDS may help.
When putty.exe close the window immediately that there is probably nothing on the other end, but when it remains open, it is normally a good sign. Press 'enter' or ctrl + c. If you see garbage or nothing the connection parameters doesn't match. Once again its 9600/8/1/n.
Note: if ever you restart an active EQL the CM moves which makes it difficult when with only a working serial cable.
You can also try is turning off the device. Verify that your connection to the CM right and turn on again. You will see output of a CM of start-up.
Do not use is not a black font on a black background in putty also makes life easier ;)
Kind regards
Joerg
-
Insert first in the results of the empty table in ORA-00001: unique constraint
Hi all
We are running Oracle 10 g. I modified an Oracle stored procedure instead of using the cursor for loops or bulk collect for use INSERT with the SELECT statement. When I run this version, I get ORA-00001 on first insertion. ONCE the exception is thrown. I checked that the array is empty. I don't think the ORA-00001 is the real cause of the problem. I have a syntax problem I'm not aware of.
Here's the script:
Thank you for your help,CREATE OR REPLACE PROCEDURE SP_LOAD_TEST (p_rpt_month varchar2) IS --=================================================== -- define exceptions --=================================================== DUP_VAL_ON_INDEX EXCEPTION; --=================================================== -- read the USER data --=================================================== CURSOR c_get_USERS_TBL IS select DIV_CD, WRKR_USER_ID, RPT_MONTH from USERS_TBL WHERE RPT_MONTH = P_RPT_MONTH ORDER BY DIV_CD, WRKR_USER_ID; --=================================================== -- get the location name from the TLOC_DMSN table --=================================================== CURSOR c_wrkr_loc_name ( p_wrkr_user_id varchar2) IS select WRKR_LOC from .TLOC_DMSN WHERE TRIM(wrkr_user_id) = TRIM(p_wrkr_user_id); --=================================================== -- define a place holder for each row fetched from each cursor --=================================================== c_get_USERS_TBL_row c_get_USERS_TBL%ROWTYPE; --=================================================== -- define variables --=================================================== v_elapsed_time VARCHAR2(50); v_elapsed_time_hh FLOAT; v_elapsed_time_mi FLOAT; v_elapsed_time_ss FLOAT; v_mod_ss FLOAT; v_mod_mi FLOAT; v_elapsed_time_minus_ss FLOAT; v_div_cd1 USERS_TBL.div_cd%TYPE; v_wrkr_user_id1 USERS_TBL.wrkr_user_id%TYPE; v_rpt_month1 USERS_TBL.wrkr_user_id%TYPE; v_div_cd2 USERS_TBL.div_cd%TYPE; v_wrkr_user_id2 USERS_TBL.wrkr_user_id%TYPE; V_rpt_month2 USERS_TBL.rpt_month%TYPE; v_usage_hour FACT_TBL.usage_hour%TYPE; v_bytes_sent FACT_TBL.bytes_sent%TYPE; v_bytes_rcvd FACT_TBL.bytes_rcvd%TYPE; v_total_bytes FACT_TBL.total_bytes%TYPE; v_div_nm FACT_TBL.div_nm%TYPE; v_wrkr_loc .TLOC_DMSN.WRKR_LOC%TYPE; v_wrkr_dspl_nm FACT_TBL.wrkr_dspl_nm%TYPE; v_wrkr_ph FACT_TBL.wrkr_ph%TYPE; v_url FACT_TBL.url%TYPE; v_divcd_userid VARCHAR2(12); v_prev_divcd_userid VARCHAR2(12); v_prev_div_cd USERS_TBL.div_cd%TYPE; v_prev_wrkr_user_id FACT_TBL.wrkr_user_id%TYPE; v_date_id NUMBER(10); v_user CHAR(8); v_seq_id NUMBER; v_insert_counter NUMBER; v_mmyyyy VARCHAR2(6); v_mm VARCHAR2(2); BEGIN --=================================================== -- initialize variables --=================================================== v_div_cd1 := ' '; v_prev_div_cd := ' '; v_wrkr_user_id1 := ' '; v_wrkr_loc := ' '; v_rpt_month1 := ' '; v_divcd_userid := ' '; v_prev_divcd_userid := ' '; v_prev_wrkr_user_id := ' '; v_insert_counter := 0; v_seq_id := 0; v_mmyyyy := ' '; --=================================================== -- build run month in mmyyyy format before writing to TLOAD_LOG table --=================================================== CASE WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'JANUARY' THEN v_mm := '01'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'FEBRUARY' THEN v_mm := '02'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'MARCH' THEN v_mm := '03'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'APRIL' THEN v_mm := '04'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'MAY' THEN v_mm := '05'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'JUNE' THEN v_mm := '06'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'JULY' THEN v_mm := '07'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'AUGUST' THEN v_mm := '08'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'SEPTEMBER' THEN v_mm := '09'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'OCTOBER' THEN v_mm := '10'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'NOVEMBER' THEN v_mm := '11'; WHEN UPPER(SUBSTR(p_rpt_month,1,INSTRB(p_rpt_month,'-',1,1)-1)) = 'DECEMBER' THEN v_mm := '12'; END CASE; v_mmyyyy := v_mm||substr(p_rpt_month,INSTRB(p_rpt_month,'-',1,1)+1,4); --=================================================== -- get the name of user running this procedure --=================================================== v_user := ' '; select user into v_user from dual; --=================================================== -- get date id for the current date --=================================================== v_date_id := 0; select date_id into v_date_id from .dwtime5 where DWDATE = trunc(sysdate); --=================================================== -- read each ROW IN the users TABLE --=================================================== -- Open the cursor and intialize the active set Open c_get_USERS_TBL; -- Retrieve the first row, to setup for the WHILE loop FETCH c_get_USERS_TBL into c_get_USERS_TBL_row; -- Continue looping while there are more rows to fetch WHILE c_get_USERS_TBL%FOUND LOOP v_div_cd1 := c_get_USERS_TBL_row.div_cd; v_wrkr_user_id1 := c_get_USERS_TBL_row.wrkr_user_id; v_rpt_month1 := c_get_USERS_TBL_row.rpt_month; CASE WHEN v_div_cd1 <> v_prev_div_cd THEN v_prev_divcd_userid := v_divcd_userid; v_divcd_userid := v_div_cd1||v_wrkr_user_id1; WHEN v_wrkr_user_id1 <> v_prev_wrkr_user_id THEN v_prev_divcd_userid := v_prev_div_cd||v_prev_wrkr_user_id; v_divcd_userid := v_div_cd1||v_wrkr_user_id1; END CASE; Open c_wrkr_loc_name(v_wrkr_user_id1); Fetch c_wrkr_loc_name INTO v_wrkr_loc; IF c_wrkr_loc_name%NOTFOUND THEN v_wrkr_loc := NULL; END IF; Close c_wrkr_loc_name ; v_seq_id := 0; select SEQ_USER_ID.nextval into v_seq_id from dual; INSERT INTO DETAIL_TBL_TEST(DETAIL_PK_ID, DIVCD_USERID, WRKR_USER_ID, WRKR_DSPL_NM, RPT_MONTH, USAGE_HOUR, DIV_CD, DIV_NM, WRKR_LOC, BYTES_RCVD, BYTES_SENT, TOTAL_BYTES, WRKR_PH, URL, CREATE_DT, CREATE_USER, CREATE_PGM, UPDATE_DT, UPDATE_USER, UPDATE_PGM ) SELECT v_seq_id, v_divcd_userid, wrkr_user_id, wrkr_dspl_nm, rpt_month, usage_hour, div_cd, div_nm, v_wrkr_loc, bytes_rcvd, bytes_sent, total_bytes, wrkr_ph, url, SYSDATE, v_user, 'SP_LOAD_DETAIL_TBL', SYSDATE, v_user, 'SP_LOAD_DETAIL_TBL' FROM FACT_TBL, DUAL WHERE DIV_CD = v_div_cd1 AND TRIM(wrkr_user_id) = TRIM(v_wrkr_user_id1) AND rpt_month = v_rpt_month1 ORDER BY DIV_CD, WRKR_USER_ID; v_insert_counter := v_insert_counter + 1; IF v_insert_counter >= 500 THEN -- commit changes COMMIT; v_insert_counter := 0; END IF; FETCH c_get_USERS_TBL into c_get_USERS_TBL_row; END LOOP; Close c_get_USERS_TBL; --=================================================== -- final commit --=================================================== COMMIT; EXCEPTION WHEN DUP_VAL_ON_INDEX THEN DBMS_OUTPUT.PUT_LINE('Attempting to insert a row that already exists!!!'); WHEN OTHERS THEN RAISE; --END; --=================================================== -- procedure ended. --=================================================== END;
SeyedHello
I guess that the error you receive notice when you were in that sequence was ORA-02287: unauthorized by sequence number. This is because you had the ORDER BY clause in there. If you get rid of it, you can just use the sequence number in the insert without the need first to select it...
With ORDER BY
XXXX> insert 2 into 3 dt_t1 4 SELECT 5 dt_seq.NEXTVAL, 6 SYSDATE 7 FROM 8 dual 9 CONNECT BY LEVEL 10 <=10 11 ORDER BY 12 1 13 / dt_seq.NEXTVAL, * ERROR at line 5: ORA-02287: sequence number not allowed here
No ORDER OF
XXXX> insert 2 into 3 dt_t1 4 SELECT 5 dt_seq.NEXTVAL, 6 SYSDATE 7 FROM 8 dual 9 CONNECT BY LEVEL 10 <=10 11 / 10 rows created.
Of course, I guess you want a new id for each row, as seems to be the name of the primary key column.
HTH
David
Published by: Bravid on December 19, 2011 16:07
Published by: Bravid on December 19, 2011 16:08
-
Check for the empty table row before adding the date
On the form below, when I click on the green button (extreme right) plus a new row in the table is created with today's date. the user can then enter more text to the right of the date. Problem is when the form is saved and reopened, the text that the user entered is removed and today new is added because it is in the intialize event. How do I script to check and make sure that each dated line is empty before you add today's date?
https://Acrobat.com/#d=qTINfyoXA-U6cDxOGgcSEw
Thank you
~ Gift
Hi Don,
One possibility would be to use the box caption of the textfield for the date and leave the value part free for the user to enter their data:
if (xfa.resolveNode("this.caption.value.#text").value === "") { this.caption.value.text = util.printd("[mm/dd/yy] ", new Date() ); }
See here: https://acrobat.com/#d=VjJ-YsXLKmV6QU84JrAAIw.
Hope that helps,
Niall
-
Anychart, see the empty diagram?
Hello
APEX 4.0.2 Oracle 10 g r2.
Sorry for asking here, but I can't find any support on the Web Anychart site forum.
So I need to view a diagram in my page and as you know when the query returns no data, the chart is not displayed, a message "no data found" appears rather normal.
But I would like to know if it is possible to display an empty diagram instead, with the whole legend.
An example of what I get:
full scheme (when the query returns all values)
schema-incomplete (when the query return values)
diagram empty, when the query returns null)
All the side by side to see the difference
Don't you think it's possible?
The following XML code that I use for now:
Thank you.<?xml version = "1.0" encoding="utf-8" standalone = "yes"?> <anychart> <settings> <animation enabled="false"/> <no_data show_waiting_animation="False"> <label> <text>Aucune données à afficher.</text> <font family="Verdana" bold="yes" size="10" /> </label> </no_data> </settings> <margin left="0" top="0" right="0" bottom="0" /> <charts> <chart plot_type="Pie" name="chart_1848708574694222"> <chart_settings> <title enabled="false"> <text>Opération n° :OP_PARENT_ID</text> </title> <chart_background> <fill type="Solid" color="0xffffff" opacity="0" /> <border enabled="false"/> <corners type="Square"/> </chart_background> <data_plot_background></data_plot_background> <legend enabled="true" ignore_auto_item="true" position="Bottom" columns_padding="0" rows_padding="0" align="Center" width="100%"> <title enabled="false" /> <columns_separator enabled="false" /> <items> <item source="points"/> </items> <format><![CDATA[{%Icon} {%Name}{enabled:False}]]> ({%YPercentOfSeries}{numDecimals:1,decimalSeparator:.,thousandsSeparator:\,}%)</format> </legend> </chart_settings> <data_plot_settings enable_3d_mode="true" > <pie_series style="Aqua"> <tooltip_settings enabled="true"> <format><![CDATA[{%Name}{enabled:False}]]> : {%Value}{numDecimals:0,thousandsSeparator:\,} mesures</format> <font family="Tahoma" size="10" color="0x000000" /> <position anchor="Float" valign="Top" padding="10" /> </tooltip_settings> <label_settings enabled="true"> <position anchor="Center" valign="Center" halign="Center" padding="0"/> <background enabled="false"/> <font size="9" color="White" bold="no" /> <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format> </label_settings> <pie_style></pie_style> <marker_settings enabled="False" > <marker type="None" /> </marker_settings> <connector color="Black" opacity="0.4"/> </pie_series> </data_plot_settings> #DATA# </chart> </charts> </anychart>
Yann.Hello Yann,
What is your SQL?
It will return a 0 or a null value for a slice of pie that were not?
For example, the Distances. In your first example, it has a value of 27 (32.5%), in the other two examples, it seems to have a value of 0. Is it true, or is the Null value?
Austin
-
DB MySQL compact to erase the empty tables.
Hello
I am looking for a best practice manage the size of the DB. We need to shrink the size of the DB volume is running out of disk space.
He is obviously temporary solution until we move DB to dedicated SQL area.
Kind regards
PareshParesh,
Recovery of the Table space
MySQL with innodb engine does not fear the tablespace file, even though you truncate the tables. To decrease the size of your tablespace, follow these steps:
1. stop the Foglight Management Server:
$FOGLIGHT_HOME\bin\fms - q
2. start the MySQL server:
$FOGLIGHT_HOME\bin\runDb.bat
3. use mysqldump to dump all your InnoDB tables:
CD FOGLIGHT_HOME\mysql\bin $
mysqldump Pei [dbport] u [dbuser] Pei [dbpwd] EI - q b [dbname] - r mysqldata.sql
Note: Replace the good name of user, password, port and dbname.
4 shut down the MySQL server:
$FOGLIGHT_HOME\bin\shutdownDb.bat
5 remove all the existing tablespace files:
CD FOGLIGHT_HOME\mysql\data $
del ib_log *.
del ibdata *.
6. restart the MySQL server:
$FOGLIGHT_HOME\bin\runDb.bat
7 import the dump files:
CD FOGLIGHT_HOME\mysql\bin $
MySQL Pei [dbport] u [dbuser] Pei [dbpwd]<>
Note: Replace the good username and password port.
8 stop the MySQL server.
$FOGLIGHT_HOME\bin\shutdownDb.bat
9 restart the Foglight Management Server.
$FOGLIGHT_HOME\bin\fms
-Larry -
Rows from the outer Table shows only not all data.
Hello
I have a line to 80 characters that I import in an external table.
80% imports fine line data, but some lines are cut.
The bytes in the file are as follows.
ABCABC2334 0000001000010000001000000001 000000 00001C A002
Bytes in an external table.
ABCABC2334 0000001000010000001000000001 000000 A002
The bytes in the row of the outer table stop somewhere at the end of 000000 and the 00001C is cut.
What build be the cause of this?
I am able to read the characters at the beginning and towards the end of the record of 80-character line.
The external file below performs the following operations.
ABCABC2334 0000001000010000001000000001 000000 01B A002
I can even make a definition of the external table (c1 char (1), c2 char (1),... c80 (1) tank and all the characters see fine in the specified columns.)
Here is the last definition of the external table. The "middle" column still shows this behavior. Basically, it is in the file and can be seen with every character in the definined line, but not as a group of characters.
DB CHARACTERSET WEBISO8859P1
CREATE TABLE EXT_PROJ_1
(
Field1 tank (6 BYTES),
Field2 float (4 BYTES),
medium (67 BYTES)
field3 tank (3 bytes),
CR tank (2 bytes)
)
EXTERNAL ORGANIZATION
(TYPE ORACLE_LOADER
THE DEFAULT DIRECTORY EXP_DIR
ACCESS SETTINGS
(
RECORDS delimited by '\r\n '.
FIELDS (field1, position(1:6),
position(7:10) Field2.
average position(11:77)
field3 position(78:80).
CR position(81:82)
)
)
LOCATION (EXP_DIR: 'ext_proj_1.txt')
)
REJECT THE LIMIT 1
noPARALLEL
NOMONITORING;
Published by: 917320 on March 13, 2012 09:07Looking at your table definition:
field1 char(6 BYTE), field2 char(4 BYTE), middle char(67 BYTE), field3 char(3 byte), cr char(2 byte)
column in which you will store a string of 80 bytes?
BTW: You said "import into an external table." You import FROM an external table or EXPORT to an external table?
-
Assemble the different tables with large amounts of data
Hello
I need to collect different types of tables:
Example "table1", with columns: DATE, IP, TYPEN, X 1, X 2, X 3
For "table0" with the DATE, IP, REFERENCE columns.
TYPEN in table1 to be inserted in REFERENCE in table0, but by a function that transforms it to another value.
There are several other tables like 'table1', but with slightly different columns, which must be inserted into the same table ("table0").
The amount of data in each table is pretty huge, so the procedure must be made into small pieces and effectively.
If / could I use data pump for this?
Thank you!user13036557 wrote:
How can I continue with this then?Should I delete the columns I don't need and transform the data in the first table, and then use data pump.
or should I just do a procedure traversing all ranks (into small pieces) "table1", then threading "table0"?
You have two options... Please test both of them, calculate the time to complete and to implement the best.
Concerning
Rajesh -
Display of the values null when there is no data
There are two columns 'A' and 'B' in the report which has values. IF there is no data in the report, it displays the following system message
+ 'No results '.
+ The specified criteria result no data. This is often caused by the application of filters that are too restrictive or contain incorrect values. Please check your filters to ask and try again. The currently applied filters are given below. » +
My requirement is, indicates a value of zero instead of this message in the table format and should show the table axis 0.
Please give me your entries and help me find the solution
Thanks in advance.
Published by: user10414249 on December 1st, 2009 14:22Yes, it is a different problem. Mark this "answered" and open a new thread.
-
How to view the zero in the dashboard reports when there is no data in the database?
I'm generation of trend analysis report
in which I not show. so each month on a site web, I have all the data for a given month July (because there is no success during the previous month), report is generated with all months except JULY.
Is their any way to view the zero with the name of the month when there is no data (unsuccessfully) in the database?
ex.
Jan 10
20 February
15 March
Apr 4
May 12
June 16
July 0 <---(display zero here)
August 11
9 sep
.
.
Dec 8You owe us an outerjoin:
http://obiee101.blogspot.com/search/label/outer%20JOIN
concerning
John
http://obiee101.blogspot.com -
Saves the empty yet says there is only 100 MB left. Help please.
I use my Clip for audiobooks only. Problem: listening to an audio book, I put it on pause, he turned back and when I got all the books on this topic has been deleted and the message says: empty. I then tried to transfer a book of overdrive as usual and it would not transfer because of the Sansa Clip says that there are only apart of 1.87 GB 100 MBinternal memory. It is impossible because it has absolutely nothing at all downloaded on my Clip. Help, please. I don't know what to do. Thank you.
silverfusion wrote:
I use my Clip for audiobooks only. Problem: listening to an audio book, I put it on pause, he turned back and when I got all the books on this topic has been deleted and the message says: empty. I then tried to transfer a book of overdrive as usual and it would not transfer because of the Sansa Clip says that there are only apart of 1.87 GB 100 MBinternal memory. It is impossible because it has absolutely nothing at all downloaded on my Clip. Help, please. I don't know what to do. Thank you.I think that there may be two ways to go about troubleshooting it: a clean format, reload. or check the memory of Clips with a windows machine and running Chkdsk on it. I prefer the Format myself that this will clear most gremlins. But a chkdsk /f can work as well.
To Format the Clips of Sansa memory go on the Menu Settings > Format > Yes ... Then reload your music and audio books.
Use chkdsk (excerpt from the Clips FAQ)
Contributor: c1u31355
Getting weird or empty file names, you can not delete? Songs of stop working in some albums? Running the disk check can help.
Here is the workaround:
- To connect in MSC / Mode of Rhapsody.
- Open my computer and take note of the drive letter; example; e: / or f: /.
- Left click Start then run: and type chkdsk x:/f (x being the letter of the drive that was mentioned earlier).
* / f : corrections of errors on the disc.
Microsoft Access disk for XP instructions
Check disk on WikipediaHope this helps,
-
Installed the programs see the emptiness on the Satellite A350-212
Hello
I hope someone can help here. My brother left England in the Turkey a couple of years ago and his cell phone, which was the United Kingdom's irreparable, so he bought one in Turkey, A Toshiba Satellite A350-212 and has problems with the downloads. For example he downloaded a free trial of Coverxp and he seemed to download ok and asked if he wanted a shortcut on the desktop. He said yes to the shortcut, and as I say, it seemed to have installed ok.
The iicon office never appeared and the Coverxp in all programs also shows empty.
This is the case for most of the things it has downloaded, such as the trial version of Winrar.
In programs and features uninstall, applications are here. In my view, this could be a security problem.All the things he tried to install it I installed on Vista without any problems
If anyone can help with information ill be most gratefull
Thank you.
Hi mate
First I put t think it's a problem of Toshiba.
I recommend saving the downloaded packages somewhere on the second partition.
Then go to that partition and unzip the package.
Then follow the installation instructions.By the way; shortcuts on the desktop can be created manually.
Simply right-click on desktop and create a new shortcut and point to the exe of the installed software. -
How can I show pop of the action of the button inside af: table,.
I tried and it did not work:
< af:column headerText = "#{screenLabels.NOTES}" width = "85px" align = "center" > "
< af:commandButton text = "#{screenLabels.VIEW_LBL}" >
< af:showPopupBehavior popupId = "notesPopup" / >
< af:setActionListener from = "#{status.index}" to = "#{compilanceBackingBean.selectedRow}" / > "
< / af:commandButton >
< / af:column >
Thanks in advance.
triggerType = 'action' / >
Jean-Marc Mithra
-
Screen.Paint see the empty bitmap
Hello
I'm doing a transition screen animation but I can't find a way to do the same thing, doLayout method is. I work with OS 4.5 on Curve 8300 and the doLayout method does not exist in the API.
I tried updateLayout, invalidateLayout doPaint and nothing works. I don't want the screen to be visible before the end of the transition, so I can't use the Display.screenshot () method.
Here's the method I use. Graphic design is a part of a bitmap. With OS 4.1, I was super.doLayout just before the first method of painting.
public void getScreenShot(Graphics graph) { super.paintBackground(graph); super.paint(graph); }
Hello again,
I found a solution to my problem. Simply put this part of the code before super.paintBackground (graphics);
if (super.getWidth() == 0) { super.layoutDelegate(Display.getWidth(), Display.getHeight());}
-
Query on the organized Table (IOT) Index sorts unnecessarily data
I created hist3 to the table as follows:
create table hist3)
reference date,
palette varchar2 (6).
Artikel varchar2 (10),
Menge number (10),
status varchar2 (4).
VARCHAR2 (20) text.
VARCHAR2 (40) data.
primary key constraint hist3_pk (reference, palette, artikel)
)
index of the Organization;
The table being an IOT, I expect that the retrieval of rows in the same order as in the primary key must be very fast.
This is true for the following query:
SQL > select * from hist3 by reference;
-----------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
-----------------------------------------------------------------------------
| 0 | SELECT STATEMENT | 1000K | 82 M | 3432 (1) | 00:00:42 |
| 1. INDEX SCAN FULL | HIST3_PK | 1000K | 82 M | 3432 (1) | 00:00:42 |
-----------------------------------------------------------------------------
But if I add the following column of the primary key as a criterion of the order, the query becomes very slow.
SQL > select * from hist3 by reference, palette;
------------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |
------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | 1000K | 82 M | 22523 (1) | 00:04:31 |
| 1. SORT ORDER BY | 1000K | 82 M | 200 M | 22523 (1) | 00:04:31 |
| 2. FULL RESTRICTED INDEX SCAN FAST | HIST3_PK | 1000K | 82 M | 2524 (2) | 00:00:31 |
------------------------------------------------------------------------------------------
If I look at the execution plan, I don't understand why a SORT statement should be needed, as data already take the IOT in the order requested.
Any thoughts?
ThomasThere are various ways how Oracle sorts VARCHARs.
When you create an index on a VARCHAR column, sort order is binary.
Try ' alter session set nls_sort = "BINARY" "and run your query."
Maybe you are looking for
-
I can't understand how to buy music on Apple TV 4. I can't get some of my songs, I bought to play. a lot of the album art is not displayed until it does on my phone
-
Hello This question confued me recently, I would use a parallel process of model and to finish running at the same time. If there are action steps in order, it seemed that will put an end to the execution of all. However, I put a wait instead of step
-
Why doesn't my Shockwave?
I want a shock wave read 0 359 enumeration and then go up to 1 for the 360th County. I want it then continue to repeat this pattern. I put the duty cycle for cent to 0.2778% or 1/360. . What I am doing wrong? Please see the attachment to see what I t
-
Cisco connect software for E4200V1
Hi all Original and downloaded the software CiscoConnect E4200 is after installation relative to the EA4500 version and does not work with the E4200V1 router.
-
OfficeJet Pro L7780 - have to restart each job print spooler I print (Windows 7 32-bit)
I have an OfficeJet Pro L7780 which displays offline in devices and printers constantly. I discovered if I queue print jobs to it and then restart the print spooler all jobs will come out perfectly, then the printer will instantly be in offline mode