Code to add to display the results I need please take a look
Help, pleaseHere is my code:
SELECT l.location_no,
l.zone_code,
la.area_code,
DECODE (la.area_code, 'WA-60', 'NODA', 'WA-61', 'NODA', 'WA-62', 'NODA', 'WA-63', 'NODA', 'WA-64', 'NODA', 'WA-65', 'NODA', 'WA-66', 'NODA', 'WA-67', 'NODA', 'WA-68', 'NODA', 'WA-69', 'NODA', 'WA-70', 'NODA', 'WA-71', 'NODA', 'WA-72', 'NODA', 'WA-73', 'NODA', 'WA-74', 'NODA', 'WA-74', 'NODA', 'WA-75', 'NODA', 'WA-76', 'NODA', 'WA-77', 'NODA', 'WA-78', 'NODA', 'WA-79', 'NODA', 'WA-80', 'NODA', 'WA-81', 'NODA', 'WA-82', 'NODA', 'WA-83', 'NODA', 'WA-84', 'NODA', 'WA-REED', 'NODA', 'WA-R2', 'NODA', 'WA-R1', 'NODA', 'WA-BIN', 'NODA', 'PA-CDK', 'NODA', 'WA-PALLET', 'NODA', 'WA-BINRESV', 'NODA', 'DA-REPL', 'GOOD') DAREPL
FROM MOVE.LOCATION L,
MOVE.LOCATION_AREA LA
WHERE l.location_no = la.location_no
AND l.zone_code NOT IN ('Z-BINRES', 'Z-LARGE', 'Z-SMALL', 'Z-HVYOVR', 'Z-ENDCAP', 'Z-LOOSE', 'Z-BRKPAK', 'Z-STRLINE', 'Z-FLAT', 'Z-BULKRES', 'Z-GENERAL', 'Z-2PC', 'Z-BULK', 'Z-SSP', 'Z-RUG', 'Z-LOAD', 'Z-SSPBRK', 'Z-HOLD', 'Z-REC-SSP' )
AND la.area_code NOT IN ('DA-BULK', 'DA-CANREPL', 'WA-TIER', 'WA-OVRFLOW', 'WA-PALLET2', 'WA-SPRING', 'WA-TIER2', 'WA-DOKPIK', 'WA-DP', 'WA-HOLD', 'PA-OSDHOLD', 'PA-REED', 'RA-REC-CDK', 'WA-PALLET2', 'RECEIVING', 'RECEIVING2', 'WA-BINHOT', 'WA-CANDLE', 'WA-REED', 'WA-BIN2', 'WA-BINCOLD', 'PA-CDK', 'PA-HAZMAT', 'PA-HWR', 'PA-XMASCP', 'WA-PALLET', 'WA-BINRESV', 'WA-BIN', 'WA-BULK', 'WA-BRKPAK', 'PA-BRKPRES', 'PA-CANDLES', 'PA-BIN', 'PA-LOOSE', 'PA-HVYOVR', 'PA-BULKRES', 'PA-BRKPAK', 'WA-01', 'WA-02', 'WA-03', 'WA-04', 'WA-05', 'WA-06', 'WA-07', 'WA-08', 'WA-09', 'WA-10', 'WA-11', 'WA-12', 'WA-13', 'WA-14', 'WA-15', 'WA-16', 'WA-17', 'WA-18', 'WA-19', 'WA-20', 'WA-21', 'WA-22', 'WA-23', 'WA-24', 'WA-25', 'WA-26', 'WA-27', 'WA-28', 'WA-29', 'WA-30', 'WA-31', 'WA-32', 'WA-33', 'WA-34', 'WA-35', 'WA-36', 'WA-37', 'WA-60', 'WA-61', 'WA-62', 'WA-63', 'WA-64', 'WA-65', 'WA-66', 'WA-67', 'WA-68', 'WA-69', 'WA-70', 'WA-71', 'WA-72', 'WA-73', 'WA-74', 'WA-75', 'WA-76', 'WA-77', 'WA-78', 'WA-79',
'WA-80', 'WA-81', 'WA-82', 'WA-83', 'WA-84', 'WA-R1', 'WA-R2')
ORDER BY 1
and here are some of my outputs / results:LOCATION_NO ZONE_CODE AREA_CODE DAREPL
-------------------- ---------- ---------- --------------------------------
60-02-101 Z-BIN DA-REPL GOOD
60-02-102 Z-BIN DA-REPL GOOD
60-02-201 Z-BIN DA-REPL GOOD
60-02-202 Z-BIN DA-REPL GOOD
60-04-101 Z-BIN DA-REPL GOOD
60-04-102 Z-BIN DA-REPL GOOD
60-04-201 Z-BIN DA-REPL GOOD
60-06-101 Z-BIN DA-REPL GOOD
60-06-201 Z-BIN DA-REPL GOOD
60-06-202 Z-BIN DA-REPL GOOD
60-08-101 Z-BIN DA-REPL GOOD
60-08-201 Z-BIN DA-REPL GOOD
60-08-202 Z-BIN DA-REPL GOOD
60-10-201 Z-BIN DA-REPL GOOD
60-10-202 Z-BIN DA-REPL GOOD
60-12-102 Z-BIN DA-REPL GOOD
60-12-202 Z-BIN DA-REPL GOOD
As you can see the first results for 60-02 there are 4 results, which means they all have the DA-REPL AREA_CODE column:02-60-101
02-60-102
02-60-201
02-60-202
As you can see with results for 60-04(results 5, 6, and 7) there are only 3 places with DA-REPL in AREA_CODE column. 60 04-202 has a DA-REPL in the column AREA_CODE, and that is the real result, that I'm looking. Short to manually search through 2-5 000 results and manually find results with less than 4 is there any code I can add to help here?
60. 04-101
60. 04-102
60. 04-201
I already tried a much simpler as code THE. AREA_CODE! = DA-REPL, but as you can see above there are so THE > AREA_CODE of to take care of each who has several so although I rul is just one gives me this site with another THE. AREA_CODE
Hello
As I said before:
You can replace the part in brackets after the "with your_query" with your query
Therefore, this:
with your_query as (
select '60-02-101' location_no, 'Z-BIN' zone_code, 'DA-REPL' area_code, 'GOOD' darepl from dual union all
select '60-02-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-02-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-02-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-04-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-04-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-04-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-06-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-06-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-06-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-08-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-08-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-08-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-10-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-10-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-12-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
select '60-12-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual
)
,pos_loc_no as
(select '101' pos_loc_no from dual union all
select '102' pos_loc_no from dual union all
select '201' pos_loc_no from dual union all
select '202' pos_loc_no from dual
)
,group_with_missing_loc_no as
(select
substr(location_no,1,5) loc_no
from
your_query
group by
substr(location_no,1,5)
having
count(*) < 4
--order by
-- substr(location_no,1,5)
)
select
a.loc_no || '-' || b.pos_loc_no LOCATION_NO
,'Z-BIN' ZONE_CODE
,'DA-REPL' AREA_CODE
,'MISSING' DAREPL
from
group_with_missing_loc_no a
,pos_loc_no b
where
not exists
(select
*
from
your_query
where
location_no = a.loc_no || '-' || b.pos_loc_no
)
order by
1
;
Becomes this:
with your_query as (
SELECT l.location_no,
l.zone_code,
la.area_code,
DECODE (la.area_code, 'WA-60', 'NODA', 'WA-61', 'NODA', 'WA-62', 'NODA', 'WA-63', 'NODA', 'WA-64', 'NODA', 'WA-65', 'NODA', 'WA-66', 'NODA', 'WA-67', 'NODA', 'WA-68', 'NODA', 'WA-69', 'NODA', 'WA-70', 'NODA', 'WA-71', 'NODA', 'WA-72', 'NODA', 'WA-73', 'NODA', 'WA-74', 'NODA', 'WA-74', 'NODA', 'WA-75', 'NODA', 'WA-76', 'NODA', 'WA-77', 'NODA', 'WA-78', 'NODA', 'WA-79', 'NODA', 'WA-80', 'NODA', 'WA-81', 'NODA', 'WA-82', 'NODA', 'WA-83', 'NODA', 'WA-84', 'NODA', 'WA-REED', 'NODA', 'WA-R2', 'NODA', 'WA-R1', 'NODA', 'WA-BIN', 'NODA', 'PA-CDK', 'NODA', 'WA-PALLET', 'NODA', 'WA-BINRESV', 'NODA', 'DA-REPL', 'GOOD') DAREPL
FROM MOVE.LOCATION L,
MOVE.LOCATION_AREA LA
WHERE l.location_no = la.location_no
AND l.zone_code NOT IN ('Z-BINRES', 'Z-LARGE', 'Z-SMALL', 'Z-HVYOVR', 'Z-ENDCAP', 'Z-LOOSE', 'Z-BRKPAK', 'Z-STRLINE', 'Z-FLAT', 'Z-BULKRES', 'Z-GENERAL', 'Z-2PC', 'Z-BULK', 'Z-SSP', 'Z-RUG', 'Z-LOAD', 'Z-SSPBRK', 'Z-HOLD', 'Z-REC-SSP' )
AND la.area_code NOT IN ('DA-BULK', 'DA-CANREPL', 'WA-TIER', 'WA-OVRFLOW', 'WA-PALLET2', 'WA-SPRING', 'WA-TIER2', 'WA-DOKPIK', 'WA-DP', 'WA-HOLD', 'PA-OSDHOLD', 'PA-REED', 'RA-REC-CDK', 'WA-PALLET2', 'RECEIVING', 'RECEIVING2', 'WA-BINHOT', 'WA-CANDLE', 'WA-REED', 'WA-BIN2', 'WA-BINCOLD', 'PA-CDK', 'PA-HAZMAT', 'PA-HWR', 'PA-XMASCP', 'WA-PALLET', 'WA-BINRESV', 'WA-BIN', 'WA-BULK', 'WA-BRKPAK', 'PA-BRKPRES', 'PA-CANDLES', 'PA-BIN', 'PA-LOOSE', 'PA-HVYOVR', 'PA-BULKRES', 'PA-BRKPAK', 'WA-01', 'WA-02', 'WA-03', 'WA-04', 'WA-05', 'WA-06', 'WA-07', 'WA-08', 'WA-09', 'WA-10', 'WA-11', 'WA-12', 'WA-13', 'WA-14', 'WA-15', 'WA-16', 'WA-17', 'WA-18', 'WA-19', 'WA-20', 'WA-21', 'WA-22', 'WA-23', 'WA-24', 'WA-25', 'WA-26', 'WA-27', 'WA-28', 'WA-29', 'WA-30', 'WA-31', 'WA-32', 'WA-33', 'WA-34', 'WA-35', 'WA-36', 'WA-37', 'WA-60', 'WA-61', 'WA-62', 'WA-63', 'WA-64', 'WA-65', 'WA-66', 'WA-67', 'WA-68', 'WA-69', 'WA-70', 'WA-71', 'WA-72', 'WA-73', 'WA-74', 'WA-75', 'WA-76', 'WA-77', 'WA-78', 'WA-79',
'WA-80', 'WA-81', 'WA-82', 'WA-83', 'WA-84', 'WA-R1', 'WA-R2')
--ORDER BY 1 -- the order by is not needed
)
,pos_loc_no as
(select '101' pos_loc_no from dual union all
select '102' pos_loc_no from dual union all
select '201' pos_loc_no from dual union all
select '202' pos_loc_no from dual
)
,group_with_missing_loc_no as
(select
substr(location_no,1,5) loc_no
from
your_query
group by
substr(location_no,1,5)
having
count(*) < 4
--order by
-- substr(location_no,1,5)
)
select
a.loc_no || '-' || b.pos_loc_no LOCATION_NO
,'Z-BIN' ZONE_CODE
,'DA-REPL' AREA_CODE
,'MISSING' DAREPL
from
group_with_missing_loc_no a
,pos_loc_no b
where
not exists
(select
*
from
your_query
where
location_no = a.loc_no || '-' || b.pos_loc_no
)
order by
1
;
Kind regards
Peter
Tags: Database
Similar Questions
-
Add Colume in the table and display the result in it.
Hi guru,.
I have a requirement to add the column to the existing Table. and display the result after calculation.
Thank you
RutuHello
Please use this referral code snippet:
Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
OAViewObject vo = (OAViewObject) am.findViewObject (""); Give VO name attached to the region of the Table.
If (vo! = null)
{
vo.addDynamicAttribute (""); Addition of ViewAttribute to VO
}
VO. Reset();
VO. Next();Do the math you want to
Definition of the calculated value in the created attribute of VO
vo.getCurrentRow () .setAttribute ("", ); I hope that gives you a proper help.
Please do not hesitate to ask if more Question--
Thank you
Shrikant -
Add the value of point two apex and display the result in another part of the apex
Hello
I need to make the addition of the two item values using apex.item.text and find the result in another apex.item.text.
For example:
please suggest meSELECT
apex_item. Text(1,null) ONE
apex_item. Text(2,null) TWO
apex_item. Text(3,null) RESULT
FROM EMP
Thank you
Sudhir>
No it does not add the two values in the column, user key to enter the value, it must add the value of the item and displays the result in a dynamic way. Need a suggestion for using javascript
>
This requirement was not not clear in the op.See the demo of Denes Kubicek.
This topic is discussed far too often. Have you tried to Oracle Application Express (APEX) and adapting one of the many examples of LoV cascading to your situation?
See you soon,.
PS: Tip:
Look for the p_item_id and p_attributes of the APEX_ITEM API parameters.
You can call JS functions for example using p_attributeAPEX_ITEM.TEXT(... p_attributes => 'onchange="doTotal(this);"', /* doTotal being your JS Function */ ...
Published by: Dominic August 16, 2012 11:52
-
How to display the result sqlplus in java?
I want to call sqlplus to run some commands sql in java, but how can I print the result of sqlplus?
In java code, I call sqlplus as:
Process of p;
Run the command
p = Runtime.getRuntime () .exec (commandString);
print the result of the command
InputStream inputStream = p.getInputStream ();
How to display the result of the execution?
Published by: Yi on February 26, 2012 23:41You can use ProcessBuilder. Copy the following code starts sql * more and runs the script in the variable "filename". It displays the results in the console of NetBeans.
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.File; import java.util.Map; public class test1 { public static void main (String args []) { test_script(); } public static void test_script () { String fileName = "@test_table.sql"; String sqlPath = "E:\\"; String sqlCmd = "sqlplus"; String arg1 = "user/password@sid"; -- plug in your user, password and db name String arg2 = fileName; try { String line; ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2); Map
env = pb.environment(); env.put("VAR1", arg1); env.put("VAR2", arg2); pb.directory(new File(sqlPath)); pb.redirectErrorStream(true); Process p = pb.start(); BufferedReader bri = new BufferedReader (new InputStreamReader(p.getInputStream())); BufferedReader bre = new BufferedReader (new InputStreamReader(p.getErrorStream())); while ((line = bri.readLine()) != null) { System.out.println(line); } bri.close(); while ((line = bre.readLine()) != null) { System.out.println(line); } bre.close(); System.out.println("Done."); } catch (Exception err) { err.printStackTrace(); } } } Here is the content of the script at E:\\test_table.sql
Prompt drop TABLE ANOTHER_TEST; DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS / Prompt Table ANOTHER_TEST; CREATE TABLE ANOTHER_TEST ( BATCH_SEQ NUMBER, BATCH_GROUP_ID NUMBER, STATUS_FLAG VARCHAR2(30 BYTE), OBJ_BEING_PROCESSED VARCHAR2(80 BYTE), BATCH_RUN_START_DTTM DATE, BATCH_RUN_END_DTTM DATE, CREATE_DTTM DATE, CREATE_USER VARCHAR2(30 BYTE), UPDATE_DTTM DATE, UPDATE_USER VARCHAR2(30 BYTE) ) LOGGING NOCOMPRESS NOCACHE PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT ) MONITORING / COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.' / EXIT /
-
Display the results in the String form: dosen't work based on the example
Hello
To understand How to display the results as a string, I tried to reproduce this:
[http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]
I have my emp table
I've created with the wizard, on my page, a new AREA of REPORTEMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7839 KING PRESIDENT - 81-11-17 5000 - 10 7698 BLAKE MANAGER 7839 81-05-01 2850 - 30 7782 CLARK MANAGER 7839 81-06-09 2450 - 10 7566 JONES MANAGER 7839 81-04-02 2975 - 20 7788 SCOTT ANALYST 7566 82-12-09 3000 - 20 7902 FORD ANALYST 7566 81-12-03 3000 - 20 7369 SMITH CLERK 7902 80-12-17 800 - 20 7499 ALLEN SALESMAN 7698 81-02-20 1600 300 30 7521 WARD SALESMAN 7698 81-02-22 1250 500 30 7654 MARTIN SALESMAN 7698 81-09-28 1250 1400 30 7844 TURNER SALESMAN 7698 81-09-08 1500 0 30 7876 ADAMS CLERK 7788 83-01-12 1100 - 20 7900 JAMES CLERK 7698 81-12-03 950 - 30 7934 MILLER CLERK 7782 82-01-23 1300 - 10
-Selected SQL - RESULTS
-Name: Test
-Area Source Type: SQL Query
-Model region: region report
IN function enter SQL Query or PL/SQL returns a SQL query, I COPY-PASTE the following code to [http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]
AND I have this error:DECLARE p_vc_arr2 htmldb_application_global.vc_arr2; p_string VARCHAR2 (2000); BEGIN SELECT ename BULK COLLECT INTO p_vc_arr2 FROM emp WHERE deptno = :p84_select_deptno; p_string := HTMLDB_UTIL.table_to_string (p_vc_arr2, ':'); HTP.p (p_string); END;
+ 1 error has occurred.
Invalid query, no found select statement
Is not a PL/SQP selected?
Do I did wrong?
Thank you
Roseline Paquin
Montreal, Canada1 error has occurred
Invalid query, no found select statementWhat happens if you try
DECLARE p_vc_arr2 htmldb_application_global.vc_arr2; p_string VARCHAR2 (2000); BEGIN SELECT ename BULK COLLECT INTO p_vc_arr2 FROM emp WHERE deptno = :p84_select_deptno; return 'select ''' || HTMLDB_UTIL.table_to_string (p_vc_arr2, ':') || ''' str from dual'; END;
??
-
To display the result in the dialog box
Hi all!
I wonder if there is a way to make me at the end of a process, to display the result (number or string), I got in a dialog box.
I mean at the end there is a dialog box containing the message as "the result is xxx" xxx is the result of this process.
Any idea about it? Thanks in advance!
Chao
-
How to make a loop to display the results of each iteration?
I have a process inside a for loop and I want to display the results of 1, 2, 3 and 4 iterations all at once. Is it possible to do without creating 4 distinct for loops with a different constant for every N?
Thanks for the help.
-
Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project. I checked the preferences of quiz and enabled for the draft declaration. I use SCORM 1.2. My LMS is not listed (MCN) and so I chose 'other LMS standard. Any ideas on why I see the results?
Publish your SCORM SCORM Cloud and test if it will show you the results you want. If so, then your problem is with your LMS. If this is not your problem may be due to something in the settings of your current project. Eliminate one thing at a time.
-
Cannot display the results to the database during "Update": SQL statement
Hello
I get this error trying to update a VO via the UI or BCBrowser.
Cannot display the results to the database during "Update": SQL statement
This is a default single front & right THAT VO creates on the object of the entity (Database Table)
On the same table and with the same credentials of DB, I could update the record.
Any guess on what went wrong?
Thanks in advance for any help.
p.s Jdev 11.1.1.6
Journal:
oracle.jbo.DMLException: Houston-26041: could not publish data from database in "Update": SQL statement "START the CAR UPDATED CarEO SET SEL_ITEM =: 1 WHERE TXN_NO =: 2 AND LOGID =: AND SEQNO = 3: 4 POLL DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM IN: 5,: 6,: 7,: 8; END; ».
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: invalid column type
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)
at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)
at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
... 52 more
The problem is solved now.
new columns added to the database table, after the creation of the entity object. Those changes were not picked up in the entity object.
I found this difference after object entity with the DB Table comparison.
And when I added these new columns to EO & VO, I don't get this error more.
Thanks to all who tried to help
-
Do not display the result in obiee.
Hi friends,
I have a requirement saying that - for any selection of filters. If my retail report has less than 5 cases it should show a message saying "less than 5 records" and does not display the results.
If the report contains more than 5 records then - user need to display the results.
For example: filters - Manager Id, service Id
Report 1 on dashboard - name of the employee, the employee, Department Id, Id of director compensation
Report on dashboard 2 - address of the employee, employee, manager name
For above selection of filters so the Total number. Records for Report1 < 5 ('Show - No results"), Total No. records for Report1 > 5 (Show - results)
Even, even to the Report2.
Please, let me know how should I have to work on that.
Thank you.You can try filtering MAX (RCOMPTE ("ID Manager")) > 5. I hope this helps.
Bharath
-
How to display the results in the order based on the value of research
Hi all
How to display the results in the slot order.
If the user makes a search with "MADONNA", I view the results as title begins with "MADONNA" first then the rest of the records.CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200)) INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)'); INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)'); INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK'); INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA'); INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)'); INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)'); INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA'); INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI'); INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE'); SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0 output: SONGID TITLE 10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) 11 CICCONE, MADONNA (CA) 12 DALLIN, MADONNA LOUISE/STOCK 13 MADONNA 14 MADONNA (A)/ AHMADZAI, MIRWAIS (C) 15 MADONNA (CA) 16 MIRWAIS AHMADZAI, MADONNA 17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI 18 MADONNA (CA),CICCONE Expected output : 13 MADONNA 14 MADONNA (A)/ AHMADZAI, MIRWAIS (C) 15 MADONNA (CA) 18 MADONNA (CA),CICCONE .. .. .. .. ...
Please let me know is possible to show the results in this order.
Kind regards
RajasekharThis can be a little more specific:
SQL> SELECT * 2 FROM TEST 3 WHERE INSTR (TITLE, 'MADONNA') > 0 4 ORDER BY INSTR (TITLE, 'MADONNA') 5 ,TITLE 6 ; SONGID TITLE -------------------- -------------------------------------- 13 MADONNA 14 MADONNA (A)/ AHMADZAI, MIRWAIS (C) 15 MADONNA (CA) 18 MADONNA (CA),CICCONE 12 DALLIN, MADONNA LOUISE/STOCK 11 CICCONE, MADONNA (CA) 17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI 16 MIRWAIS AHMADZAI, MADONNA 10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
-
Executing a system command and to display the results in the material master
I need to change and existing TestStand application. I need the string that is returned when you type 'set computername' from a cmd prompt and show the result above all test reports. Would it be a step type call executable? And how I would get it in StationGlobal.computerName? Finally, how can I make it appear at the top of the test report?
Sorry to ask so many questions from beginner but it was the trial during the test.
Thank you
Amherst
If you have LabVIEW, you can call the following (VI attached), to get the computer name. It uses the Exec System to access the CMD prompt.
Take a look at the VI and see if you can use it for any other command 'Set', that you may need.
Thank you
PH
-
Hello, I use Adobe Acrobat X Version 10.1.4 and to the creation of PDFs of various sizes, I get the error message: "an error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to fix the problem. »
I am the author of the pdf document but don't know what to do, I tried to save it with different options, but useless error message keeps popping up even though the document is displayed correctly.
Thank you for your help.
Thank you for sending the files. I have checked the issue and registered internal bugs for the same thing.
Meanwhile, I found a work around for this problem. You can create a combined as follows:
-Open one of the files.
-Open thumbnail pane of the file via the tool on the left pane.
-Go to options and insert the second files (or more) in the file opened by using the menu "insert page".
-Save the file.
Also, see the screenshot.
This file does not show the error on the page.
-
Please take a look at this Code...
Sorry I can't be more precise in the subject line.
Here is the page: pictopoetry.co.uk/2011/01/rubber-dub-ducky/
Please take a look at the code that makes the poem itself. It scares me half to death!
This site is almost ready and I've lost sleep more to know how best to present these poems. Obviously, the page layout is essential and I won't make them. If it was me, I do in Illustrator and save it on in .png. I tried to help the poet to do this but in fact, she prefers to put it in an HTML editor, but the code with all these < p > tags random and nonsense is just horrible.
I would appreciate any thoughts you might be able to offer to try to find a good work around for the poet, me and Google!
Thank you
Martin
Hi Martin
est courte pour préformaté, que cela signifie que tout ce que vous entrez dans la balise s’affiche exactement comme entrée.
PZ
-
Can someone please take a look at and point out the flaws in the chosen components.
I'll buy components for the creation of 2 new machines to vsphere installation 5. The configurations of these are the following:Computer1:Core i5 2500ASUS P8H67-M PRO H67G.Skill Ripjaws - memory - 8 GB: 2 x 4 GB DIMM 240-pin - DDR3 - 1333 MHz2 TB WD SATA western digital Caviar GreenCooler Master Elite 370Corsair CMPSU - 600GS Gaming Series power supply SMPS 600WSamsung 22 X DVDRW desktop DVD writer internalComputer2:Core i7 2600ASUS Z68 P8Z68-V PROG.Skill Ripjaws - memory - 8 GB: 2 x 4 GB DIMM 240-pin - DDR3 - 1333 MHzSeagate 1 TB Barracuda 7200.12 SATA 3 Gb/sCooler Master Elite 430Corsair CMPSU - 600GS Gaming Series power supply SMPS 600WBoth machines will be used for my study of vmware whitebox.Can someone please take a look at and point out the flaws in the chosen components.Please go through the link below
http://www.VMware.com/resources/compatibility/search.php
Yours,
Maybe you are looking for
-
3500 RPM is too fast for early 2015 MBP?
Hello, so I played short by osBuddy on my early 2015, Macbook Pro and the laptop gets too hot to the touch very quickly which is weird, because I can run final cut pro and logic pro at the same time and he do not heat it!... in any case yes because m
-
I recently bought a lenovo A6000 and I am confronted with crackling sound question whenever I play music or watch videos on the headphones and speakers. Please tell me if it's a software problem, or I have a defect in my unit.There is still one thing
-
Suddenly strange characters French appearing instead of what the keyboard shows
I have a brand new 520-1050 HP cleaner with a wireless keyboard. I have the language set on Canadian English (and I double checked that by checking via the control panel). There is a button on the keyboard (2nd from the bottom line to the left) tha
-
Help! Static route between two router WRT160NL
Hi all I have my internet connection to connect to my main router from Linksys WRT160NL (192.168.1.1) with 192.168.1.x. My 2nd Linksys router to connect to the first gateway as well.The 2nd router has the ip 192.168.1.100 WAN and it's a local subnet
-
I had a directory that has been my "contacts". Then moved to z10 & I see that now, my 'Contacts' draw in anyone that I have on twiiter, FB & I don't know where else. OMG there are too many go through this list individually. Why the hell he would add