An amount of maximum code lines exist?
Hello
Some time ago, I posted this thread: http://forums.Adobe.com/thread/983062 and nobody has been able to help me yet.
I started to do a lot of testing, which notably to make a copy of the project data and commenting on some of its parts. After some time trying to find a model to the error, I noticed, that the construction of the ipa process was successful not according to what I comment out but on how much.
My main function has 2416 lines of code. Earlier, I tried commenting on about 200 lines and it came out, it didn't matter if I did at the beginning of a certain function, or the end of it.
The ipa was built successfully without the 200 lines at the beginning or 200 lines at the end. But when I leave the complete code, I get the error out-of-memory such as mentioned in the thread the link that I posted above.
The other idea is that maybe there is a limit of memory to save data in the tables. I use two-dimensional arrays and function in that I use nearly consists of 2000 lines with code, storying data in them. There are a 18 paintings together with 3 medium subtables that store about 20 entries each, resulting in cells of table filled about 1080. 200 lines, that I made comments are part of 1/8 of the whole function.
So now the three questions are:
1. is there a limit to the lines of code?
2. is there a limit to the tables/table entries?
3. is there a way to increase the memory for the ipa, construction process?
Thank you very much
GDdept
Seems ok I found a limit. The limit is of about how strings can be stored in the tables within a function. I separated just the function in 6 functions and the building has operated.
Tags: Adobe AIR
Similar Questions
-
RowAlreadyDeletedException so that the line exists in the database
Hello
JDev 11.1.2.4
I put in place the mechanism to keep the current line on the restoration.
http://andrejusb.blogspot.ch/2013/03/ADF-rollback-and-keep-current-row.html
In a managed bean I call the restore operation, and if the restoreCurrentRow is called on all your.
The code is in the VOImpl database which all your runs from:
protected void restoreCurrentRow() {}
If (currentRowKey! = null) {}
_logger.fine ("START RESET CURRENT ROW");
_logger.info ("restoreCurrentRow" + this.getClass () + "" + currentRowKey + "" + this.getName ());
this.executeQuery (); < = RowAlreadyDeletedException thrown here
Key k = new Key (currentRowKey.getAttributeValues ());
[] Found line = this.findByKey (k, 1);
If (found! = null & & found.length == 1) {}
Line r = this.getRow (k);
this.setCurrentRow (r);
If (r! = null & & currentRowIndexInRange > = 0) {}
this.scrollRangeTo (r, currentRowIndexInRange);
}
}
_logger.fine ("FINISHING RESET CURRENT ROW");
}
currentRowKey = null;
}
For on VO, I get an RowAlreadyDeletedException exception:
< Utils > < buildFacesMessage > ADF: addition of the following JSF error: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.
oracle.jbo.RowAlreadyDeletedException: Houston-25019: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:875)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8311)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:6975)
at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:7314)
at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1087)
at oracle.jbo.server.EntityCache.add(EntityCache.java:541)
at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:3173)
at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:3799)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5913)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3637)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3492)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2209)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:5125)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2961)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2817)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1255)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7211)
at org.xxx.common.model.adfbc.base.MyViewObjectImpl.restoreCurrentRow(MyViewObjectImpl.java:238)
at org.xxx.common.model.adfbc.base.MyViewObjectImpl.afterRollback(MyViewObjectImpl.java:230)
at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2544)
at oracle.adf.model.bc4j.DCJboDataControl.rollbackTransaction(DCJboDataControl.java:1600)
VwWrkdclWrkTitle is a SQL view.
In the managed bean, I call a PL/SQL operation. PL/SQL commits the changes, and then I call the restore operation.
So I set a breakpoint after the operation of PL/SQL and test the SQL and I get a single record. Because the PL/SQL is committed, before restoring SQL must return the same as the restoreCurrentRow method.
I do not understand this RowAlreadyDeletedException exception because the line exists.
Thank you
I changed to a primary key that is never zero, and it works. Seems to be a bug in the ADF.
-
Step through the code line by line in Eclipse
Hello.
Simple question.
How you make one through the code line by line using the Eclipse debugger? Is there a shortcut key for this?
Thank you.
I haven't opened it right in front of me, but I think that there
F11-> start debugging
F6-> step
F7-> step into
F8-> CV
-
Robotics module vs «Tools for code import existing C/c++»
Hello
The descritption of LabVIEW Robotics Module has this line:
"Tools for importing existing code in C/C++ and VHDL.
Is this something new in the Toolbox, or is - this referring to the standard function available in the basic package?
I wasn't able to find special functions in the Robotics module. I missed something?
http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/209856#productlisting
Hello Andy,
As you said, import of existing C/C++ code is originally from LabVIEW, while VHDL is enabled via the LabVIEW FPGA module.
I checked with a few colleagues and it seems that this statement in the overview is just there to remind that the integration of the text based code should be simple and intuitive with our framework. I don't think there are new features in the Robotics module that will expand the capabilities.
-Daniel
-
I'm building a plug-in on apex.oracle.com based on a list of values and spin on a question of lines maximum. I did some research online and in this discussion forum and not found what Miss me. I'm sure I'm missing something simple, but just can't put your finger on it.
The rendering of PL/SQL code contains the following statement:
l_column_value_list := apex_plugin_util.get_data
( p_sql_statement => p_item.lov_definition,
p_min_columns => 2,
p_max_columns => 2,
p_max_rows => 6,
p_component_name => p_item.name );Although I am passing a value to limit the number of rows, the result of the query when you run the page is limited to two records. Even when I let the value of p_max_rows out, the result is limited to two records. I tried to use the get_data and get_data2 procedures in the apex_plugin_util package and both result in the same thing. For testing purposes, I use the following query:
select ename, empno from emp
I add "order by ename" and see two of the emp files. I add "order by desc ename" and see the two different rows in the emp table.
When I run the page in debug mode, I see the following instruments:
...Execute Statement: select a.* from (select ename descr, empno cd
from emp
)a
where ROWNUM <= :p$_max_rowsIf if it's the thing that controls the number of lines displayed, where is this p$ _max_rows being defined as part of the plug-in and how can control it? If this is not the mechanism that controls the number of rows returned, can someone tell me what I'm missing?
Shane.
I found the bug in my code; It was something simple.
For those who may have this problem in the future, my solution was this. The apex_plugin_util.get_data returns a tables object. The online samples show the following code to loop through the results through.
because me in 1... l_column_value_list (1) .count
I had accidentally used the following code:
because me in 1... l_column_value_list. Count
Since I had two columns in my LOV, a description and a code, there were two paintings returned, so I only twice by a loop. Just took me a few days to see clearly.
-
an error has occurred in the script on this page. expected tank 21079 error code line 2 0
Windows media player 11an error has occurred in the script on this page.line 2Char 21079expected errorcode 0Hello
Thanks for the post. I understand that you meet the on Internet Explorer script error.
I suggest you check out the link and follow the steps.
How to troubleshoot script errors in Internet Explorer
http://support.Microsoft.com/kb/308260
Hope it will be useful.
-
Visual studio express 2012 - need to create the source code project existing
Hello
I generally use Visual Studio Express editions to browse existing source projects. After upgrading to the new edition of 2012 for developing Windows Desktop (on Windows 7), I'm not able to see this wizard. Please help me to configure existing projects source code in Visual Studio Express.Thanks in advance.Thank youJersey RaoHello mirtipati,
Your question would be better addressed in the MSDN for Visual Studio Express forum.
Please use the link here to transfer your issue in the Visual Studio Express forum.They have experts for help with your issue.
Sincerely,
Marilyn
-
How to get sql % number of dynamic sql code lines
Hello
In this procedure I'm inserting and updating using dynamic sql. Now I want to go back two more PARAMETERS, the parameter should be back the number of lines inserted and how updated by stmtas of UPDATE as well as an INSERT. I'm not able to do can help you on that?
CREATE OR REPLACE PROCEDURE Sp_Array_Test( PV_TGT_NAME IN VARCHAR2, PV_SRC_NAME IN VARCHAR2, PV_PK_COLS IN VARCHAR2, PN_ERR_CD OUT NUMBER, PN_ERR_MSG OUT VARCHAR2) AS TYPE ARR_TAB IS TABLE OF VARCHAR2(4000) INDEX BY BINARY_INTEGER; --UTL_FP UTL_FILE.FILE_TYPE; LV_AN_ BLOCK VARCHAR2(32767); LN_CUR BINARY_INTEGER := DBMS_SQL.OPEN_CURSOR; LN_DESC DBMS_SQL.DESC_TAB; LN_COL_CNT PLS_INTEGER := 0; LV_SEL_UPD_STMT VARCHAR2(4000); LV_SEL_INS_STMT VARCHAR2(4000); ARR_INDX NUMBER := 1; LV_DATA_TYPE VARCHAR2(8); LN_FIND_FLAG NUMBER := 0; LN_TAB ARR_TAB; LV_COLS_ARR ARR_TAB; LV_ERR_MSG VARCHAR2(500); --PROCEDURE FILE_WRITE ( FH_IN IN UTL_FILE.FILE_TYPE, -- STRING_IN IN VARCHAR2 ) IS --BEGIN -- UTL_FILE.PUT_LINE(FH_IN,STRING_IN); -- LV_AN_BLOCK := LV_AN_BLOCK||STRING_IN; --EXCEPTION -- WHEN OTHERS THEN -- RAISE; --END FILE_WRITE; BEGIN -- UTL_FP := UTL_FILE.FOPEN('TEST_DIR', 'TEST.sql', 'W'); LV_SEL_UPD_STMT := 'SELECT A.'||REPLACE(PV_PK_COLS,',','||A.')||' PK_COLS , A.* , B.ROWID FROM '||PV_SRC_NAME||' A, '||PV_TGT_NAME||' B WHERE '; LV_SEL_INS_STMT := 'SELECT A.* FROM '||PV_SRC_NAME||' A WHERE NOT EXISTS (SELECT ''1'' FROM '||PV_TGT_NAME||' B WHERE '; LN_TAB(ARR_INDX) := 'DECLARE '; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := 'CURSOR CUR_VIEW_UPD IS '||LV_SEL_UPD_STMT ; ARR_INDX := ARR_INDX + 1; SELECT SUBSTR(COLS,DECODE(RN,1,1,INSTR(COLS,',',1,RN-1)+1),DECODE(RN,1,INSTR(COLS,',',1,RN)-1,INSTR(COLS,',',1,RN)-INSTR(COLS,',',1,RN-1)-1)) BULK COLLECT INTO LV_COLS_ARR FROM ( SELECT RN, PV_PK_COLS||',' COLS FROM (SELECT ROWNUM RN FROM ALL_OBJECTS WHERE ROWNUM <= LENGTH(PV_PK_COLS)- LENGTH(REPLACE(PV_PK_COLS,','))+1)) ; FOR K IN 1 .. LV_COLS_ARR.COUNT LOOP LV_SEL_UPD_STMT := LV_SEL_UPD_STMT||' A.'||LV_COLS_ARR(K)||' = '; LN_TAB(ARR_INDX) := ' A.'||LV_COLS_ARR(K)||' = '; LV_SEL_UPD_STMT := LV_SEL_UPD_STMT||' B.'||LV_COLS_ARR(K) ||CASE WHEN K = LV_COLS_ARR.COUNT THEN NULL ELSE ' AND ' END; LN_TAB(ARR_INDX) := LN_TAB(ARR_INDX)||' B.'||LV_COLS_ARR(K) ||CASE WHEN K = LV_COLS_ARR.COUNT THEN ' ;' ELSE ' AND ' END; ARR_INDX := ARR_INDX + 1; END LOOP; LN_TAB(ARR_INDX) := 'CURSOR CUR_VIEW_INS IS '||LV_SEL_INS_STMT ; ARR_INDX := ARR_INDX + 1; FOR K IN 1 .. LV_COLS_ARR.COUNT LOOP LV_SEL_INS_STMT := LV_SEL_INS_STMT||' A.'||LV_COLS_ARR(K)||' = '; LN_TAB(ARR_INDX) := ' A.'||LV_COLS_ARR(K)||' = '; LV_SEL_INS_STMT := LV_SEL_INS_STMT||' B.'||LV_COLS_ARR(K) ||CASE WHEN K = LV_COLS_ARR.COUNT THEN NULL ELSE ' AND ' END; LN_TAB(ARR_INDX) := LN_TAB(ARR_INDX)||' B.'||LV_COLS_ARR(K) ||CASE WHEN K = LV_COLS_ARR.COUNT THEN ' );' ELSE ' AND ' END; ARR_INDX := ARR_INDX + 1; END LOOP; LV_ERR_MSG := 'WHILE PARSING SELECT STATEMENT -- '||LV_SEL_UPD_STMT; DBMS_SQL.PARSE(LN_CUR, LV_SEL_UPD_STMT, DBMS_SQL.NATIVE); LV_ERR_MSG := 'WHILE DESCRIBING SELECT STATEMENT -- '||LV_SEL_UPD_STMT; DBMS_SQL.DESCRIBE_COLUMNS(LN_CUR, LN_COL_CNT, LN_DESC); FOR i IN LN_DESC.FIRST .. LN_DESC.LAST LOOP IF LN_DESC(i).col_type = 2 THEN LV_DATA_TYPE := 'NUMBER'; ELSIF LN_DESC(i).col_type = 12 THEN LV_DATA_TYPE := 'DATE'; ELSE LV_DATA_TYPE := 'VARCHAR2'; END IF; LN_TAB(ARR_INDX) := ' T_'||LN_DESC(i).col_name||' DBMS_SQL.'||LV_DATA_TYPE||'_TABLE;'; ARR_INDX := ARR_INDX + 1; END LOOP; LN_TAB(ARR_INDX) := 'BEGIN '; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' EXECUTE IMMEDIATE ''ALTER SESSION SET NLS_DATE_FORMAT = ''''DD-MON-YYYY HH24:MI:SS'''''';'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' OPEN CUR_VIEW_UPD;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' LOOP'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' FETCH CUR_VIEW_UPD BULK COLLECT INTO T_'||LN_DESC(LN_DESC.FIRST).col_name||','; ARR_INDX := ARR_INDX + 1; FOR i IN LN_DESC.FIRST + 1 .. LN_DESC.LAST - 1 LOOP LN_TAB(ARR_INDX) := ' T_'||LN_DESC(i).col_name||','; ARR_INDX := ARR_INDX + 1; END LOOP; LN_TAB(ARR_INDX) := ' T_'||LN_DESC(LN_DESC.LAST).col_name||' LIMIT 500 ;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' FORALL I IN 1 .. '||'T_'||LN_DESC(LN_DESC.LAST).col_name||'.COUNT '; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' UPDATE '||PV_TGT_NAME||' SET '; ARR_INDX := ARR_INDX + 1; LN_FIND_FLAG := 0; FOR I IN LN_DESC.FIRST + 1 .. LN_DESC.LAST-1 LOOP FOR K IN 1 .. LV_COLS_ARR.COUNT LOOP LN_FIND_FLAG := 0; IF LN_DESC(I).COL_NAME = LV_COLS_ARR(K) THEN LN_FIND_FLAG := 1; EXIT; END IF; END LOOP; IF LN_FIND_FLAG = 0 THEN LN_TAB(ARR_INDX) := ' '||LN_DESC(i).col_name||' = '||'T_'||LN_DESC(i).col_name||'(I)'||CASE WHEN I = LN_DESC.LAST-1 THEN ' WHERE ' ELSE ',' END; ARR_INDX := ARR_INDX + 1; END IF ; END LOOP; LN_TAB(ARR_INDX) := ' ROWID = '||'T_'||LN_DESC(LN_DESC.LAST).col_name||'(I) ;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' COMMIT;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' EXIT WHEN CUR_VIEW_UPD%NOTFOUND;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' END LOOP;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' CLOSE CUR_VIEW_UPD;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' COMMIT;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' OPEN CUR_VIEW_INS;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' LOOP'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' FETCH CUR_VIEW_INS BULK COLLECT INTO T_'||LN_DESC(LN_DESC.FIRST+1).col_name||','; ARR_INDX := ARR_INDX + 1; FOR i IN LN_DESC.FIRST + 2 .. LN_DESC.LAST - 2 LOOP LN_TAB(ARR_INDX) := ' T_'||LN_DESC(i).col_name||','; ARR_INDX := ARR_INDX + 1; END LOOP; LN_TAB(ARR_INDX) := ' T_'||LN_DESC(LN_DESC.LAST-1).col_name||' LIMIT 500 ;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' FORALL J IN 1 .. '||'T_'||LN_DESC(LN_DESC.FIRST + 1).col_name||'.COUNT '; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' INSERT INTO '||PV_TGT_NAME||' ('; ARR_INDX := ARR_INDX + 1; FOR i IN LN_DESC.FIRST + 1 .. LN_DESC.LAST - 1 LOOP LN_TAB(ARR_INDX) := ' '||LN_DESC(i).col_name||CASE WHEN I = LN_DESC.LAST - 1 THEN ' )' ELSE ',' END ; ARR_INDX := ARR_INDX + 1; END LOOP; FOR i IN LN_DESC.FIRST + 1 .. LN_DESC.LAST - 1 LOOP LN_TAB(ARR_INDX) := CASE WHEN I = LN_DESC.FIRST + 1 THEN 'VALUES (' ELSE NULL END ||' T_'||LN_DESC(i).col_name||'(J)'||CASE WHEN I = LN_DESC.LAST - 1 THEN ' ) ;' ELSE ',' END ; ARR_INDX := ARR_INDX + 1; END LOOP; LN_TAB(ARR_INDX) := ' COMMIT;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' EXIT WHEN CUR_VIEW_INS%NOTFOUND;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' END LOOP;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' CLOSE CUR_VIEW_INS;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := ' COMMIT;'; ARR_INDX := ARR_INDX + 1; LN_TAB(ARR_INDX) := 'END ;'; ARR_INDX := ARR_INDX + 1; FOR J IN 1 .. LN_TAB.COUNT LOOP -- DBMS_OUTPUT.PUT_LINE( LN_TAB(J)); -- FILE_WRITE(UTL_FP,LN_TAB(J)); LV_AN_BLOCK := LV_AN_BLOCK||LN_TAB(J); END LOOP; -- UTL_FILE.FCLOSE(UTL_FP); EXECUTE IMMEDIATE LV_AN_BLOCK; PN_ERR_CD := 0; PN_ERR_MSG := 'Successful Completion'; EXCEPTION WHEN OTHERS THEN PN_ERR_CD := SQLCODE; PN_ERR_MSG := LV_ERR_MSG||' -- '||SQLERRM ; END; /
Thank you all for your answers. I agree with you all. I have manged this time by adding variable bind, then run it immediately ON aid. I don't know how it's going to be training.
From now on my side no problem I don't thank you.
-
How to get the code of existing research
Hello
Can someone guide me how get existing LookupCode using the API of the IOM for IOM 10 g.
Thank you
Rahul ShahUse them:
code.getStringValue ("search Definition.Lookup Code Information.Decode");
code.getStringValue ("Definition.Lookup Code Information.Code search key");
-
Hello Adobe community.
Today, I am faced with a smaller than usual problem, I cannot find two lines of coding that I'd like to fix them up. The first is: < iframe width = "640" height = "360" src ="http://www.youtube.com/embed/nK5OFakBYm4?feature=player_embedded" frameborder = "0" allowfullscreen > < / iframe > "
I have a feeling that the line lies on the page video gallery of the site that I am currently in train, and while I found coding that looks like that they don't have the statistics of the width and height. I would like to change those so that the video changes size with the size of the browser ((office, Tablet and smartphone sizes screen.))
Here is a link to the video gallery below:
http://showcasenc.com/videos/Videogallery.html
Here is a link to the index page:
The next group of coding I have hurt to find is the one who sends messages automated after people submit their form to the company.
"Subject: notice of default.
Your e-mail to the following addresses could not be delivered. This is a permanent error. Please check the address and try again. If you are still experiencing email trouble at these addresses, please contact the 480-624-2500 customer. »
"Thank you for your interest in free Homefinder showcase services Construction Co. One of our consultants will contact you shortly.
Kind regards
"of the------Design & Build team at Showcasenc.com.
I guess that's because the thank you message that is sent to the user who completed our form is not always provided with the users email address, so do not be able to send the thank you message. I would like to delete and add in a different way to thank the user, but after searching around, I am unable to find any text like that in all my coding of the site.
It could be somewhere on this page:
http://showcasenc.com/new-home-search.html
The Find feature can't find the lines of coding I'm looking for, so I hope to receive some help here. If someone is able to pinpoint where they are, please let me know so that I can make changes for them and keep them up to date in the future. As always, any help me will be greatly appreciated.
Regarding the second question, the code you are looking for probably appears in writing scripts that processes the form-
-
Hi all, I'm writing and problem. consider these data.
what I want to do is take each row in table1 and whether they exists in table2.WITH table1 AS( SELECT 'T' l1, 'T' l2, NULL l3, NULL l4, NULL l5 FROM dual UNION ALL SELECT 'K' l1, 'L' l2, NULL l3, NULL l4, 'I' l5 FROM dual UNION ALL SELECT NULL l1, 'T' l2, 'Y' l3, NULL l4, 'J' l5 FROM dual UNION ALL SELECT 'T' l1, 'T' l2, 'R' l3, 'E' l4, NULL l5 FROM dual UNION ALL SELECT 'W' l1, 'T' l2, NULL l3, 'G' l4, NULL l5 FROM dual ), TABLE2 AS ( SELECT 1 cid,'T' l1, 'T' l2, NULL l3, NULL l4, NULL l5 FROM dual UNION ALL SELECT 2 cid,'K' l1, 'L' l2, NULL l3, NULL l4, 'I' l5 FROM dual UNION ALL SELECT 3 cid,NULL l1, 'T' l2, 'Y' l3, NULL l4, 'J' l5 FROM dual )
If Yes, check the cid of table2. If the line does not exist in table2, then display the line
for table1 without the cid. for example, here is the result
as you can see in the output, I went through all the rows in table1 and find out if they are comparing all of the columns of l.CID l1 l2 l3 l4 l5 ==== === == === === === 1 T T 2 K L I 3 T Y J T T R E W T G
If a row from table1 exist in table2 based on all the columns of l, then I view with decided to table2.
You can see in the output that the first 3 lines of table1 exists in table2 and cid is display for those.
for the last two lines, they do not exist in table2, but I still show but with cid null.
now here's the tricky part. This can be easily be done by joining the two tables and doing outer joins.
I would like to do this without the help of outer join. Maybe use exists keyword to another type of technology.
can someone help me write a query that produces the output above without using outerjoin as query below?
Select columns
FROM table1, table2 b
where a.l1 = b.l1 (+)
and a.l2 = bl2 (+)
and...WITH table1 AS( SELECT 'T' l1, 'T' l2, NULL l3, NULL l4, NULL l5 FROM dual UNION ALL SELECT 'K' l1, 'L' l2, NULL l3, NULL l4, 'I' l5 FROM dual UNION ALL SELECT NULL l1, 'T' l2, 'Y' l3, NULL l4, 'J' l5 FROM dual UNION ALL SELECT 'T' l1, 'T' l2, 'R' l3, 'E' l4, NULL l5 FROM dual UNION ALL SELECT 'W' l1, 'T' l2, NULL l3, 'G' l4, NULL l5 FROM dual ), TABLE2 AS ( SELECT 1 cid,'T' l1, 'T' l2, NULL l3, NULL l4, NULL l5 FROM dual UNION ALL SELECT 2 cid,'K' l1, 'L' l2, NULL l3, NULL l4, 'I' l5 FROM dual UNION ALL SELECT 3 cid,NULL l1, 'T' l2, 'Y' l3, NULL l4, 'J' l5 FROM dual ) select table2.cid, table1.l1, table1.l2, table1.l3, table1.l4, table1.l5 from table1 inner join table2 on nvl(table1.l1,0) = nvl(table2.l1,0) and nvl(table1.l2,0) = nvl(table2.l2,0) and nvl(table1.l3,0) = nvl(table2.l3,0) and nvl(table1.l4,0) = nvl(table2.l4,0) and nvl(table1.l5,0) = nvl(table2.l5,0) union all select null, table1.l1, table1.l2, table1.l3, table1.l4, table1.l5 from table1 where not exists (select 1 from table2 where nvl(table1.l1,0) = nvl(table2.l1,0) and nvl(table1.l2,0) = nvl(table2.l2,0) and nvl(table1.l3,0) = nvl(table2.l3,0) and nvl(table1.l4,0) = nvl(table2.l4,0) and nvl(table1.l5,0) = nvl(table2.l5,0) ) Output: "CID" "L1" "L2" "L3" "L4" "L5" "1" "T" "T" "" "" "" "2" "K" "L" "" "" "I" "3" "" "T" "Y" "" "J" "" "W" "T" "" "G" "" "" "T" "T" "R" "E" ""
Published by: APRIL on February 28, 2011 19:51
-
Error enter amount of sales order line
Hello
I got error while registering the amount of command-line client, I checked in Metalink as well did I ' t had any solution.
"APP - 250271 HAVE online discount is not allowed; command type apply the rates. '
Can someone clarify for me.
Thanks in advance...
Respect of...
SureshThis occurs when you try to change the price which is lacking on the command line and the price list that you use, you cannot change the price being set by default.
Use a different price list or change the configuration of price list to allow discounting online.Hope that answers your question
Sandeep Gandhi
OMKAR Technologies Inc.
Techno-Functional consultant -
City, State zip code / line...
Hello...
New here... Version 8.2.3 running in SAP.
Format a line of unique address of 4 individual fields... City, State zip code.
Envy of cities, separated by a comma and 1 space... and State separated from the zip code of 1 State place.
Examples...
Boston, MY 07884
Fountain Valley, CA 76877
How to do this in the form of layout?
In the presentation of the object tab... I put the fields to "Expand to fit" in the sense of width... but overlays of city in the State...
I don't want to... Boston, MA 07884 to accommodate long names of city.
For now... I format the address unique line in the ABAP Interface code.
Thank you
Dave T...
Hi Dave,.
A quick way is to have the script of the event to calculate the object that displays all the data. It could look at the other fields and if they are not null, specify their values in the main field.
I have an example here: http://assure.ly/iuYifq
Hope that helps,
Niall
-
I use Dreamweaver in 90% of the time in code view and there is one thing that I don't like and I can't seem to fix it.
When I have a text of the newspaper the text stops at the end of my screen and continues to the next line, rather than give me a horizontal scroll bar at the bottom of the page.
Y at - it an option to get there?
Dreamweaver has two types of packaging of word in Code view: hard packaging, which is disabled by default, and flexible packaging, which is enabled by default.
Flexible packaging works as a word processor by moving the text on the next line when it reaches the right border, but inserts a new line character. To disable the function of flexible packaging, go to view > Code view Options, and then click Word Wrap. It is an option of start-stop rocking. With a check mark next to, it's on. Simply click to remove the check mark and turn off the power of flexible packaging.
Hard packaging, by the way, is in the preferences > Format of Code. It is not recommended, because it breaks JavaScript.
-
Hello:
I tried to find a way to display a specific number of rows that a data label and the current amount in a table nested; For example, lines 1-10. There may be more than 10 lines. If there is more than 10, I would like to hide lines 11 through... (# can chg), then displays a final line entitled "Additional amounts subtotal" where line 11 would be resident if she displayed. This last row would display a subtotal of the hidden amounts.
Example of requirement: lines 11, 12, 13 @ 5.00 each are hidden but subtotal as show.
1st row... 5.00
2nd row... 5.00
Line 3... 5.00
4th place... 5.00
Rank 5... 5.00
Line 6... 5.00
Line 7... 5.00
Line 8... 5.00
Line 9... 5.00
Line 10... 5.00
Subtotal of the additional amounts... 15 h 00
Total... 65.00
Is this possible? I am able to stop the list with 10 <? choose:? > and position().
<? choose:? > <? When: position() mod 10 = 0 and position()! last() =? > additional amounts subtotal
<? end when? > <? end to choose? >
I was also able to create a total race by using a variable, <? choose:? > and position().
<? xdoxslt:set_variable($_XDOCTX,'RTotalVar',0)? >
<? choose:? > <? When: position() > = 10 and position(), last() =? >
<? xdoxslt:set_variable ($_XDOCTX, 'RCTotalVar', xdoxslt:get_variable($_XDOCTX,'RCTotalVar') + YTD_AMOUNT)? > <? end when? > <? end to choose? >
<? xdoxslt:get_variable($_XDOCTX,'RCTotalVar')? >
However, can't do the running total to appear on a single line, as indicated, instead the lines 11, 12 and 13 are displayed and my subtotal is below the table itself. I'll be happy to send along my model, if someone wants to see again.
Thanks in advance,
RedLaceyI speak of course - a RTF model. That's what most people use.
Klaus
Maybe you are looking for
-
Why replace enable/disable modules buttons FF 23 - confusion
Replace the buttons toggle for modules in FF23 with "enable always/never turn" is confusing and a pain. There are reasons of Dynamics decide to enable or disable an add-on. Why this has been removed, and is it possible to recover the old method? FF23
-
I have a 'thing' in the way Google sprite on my google homepage. This ONLY happens in Firefox, no other browser for that. Going to www.google.co.uk I see a stupid 'thing' looking at the left center of the page, hovering a little more and in the path
-
I had left a group because it had lagged behind my calls, after that, I had asked someone to add me to these groups, and they did. However, when I was added in the message bar when I hit things I want to say he says: "You leave this group" and I can'
-
I can't post a picture of the program foto
-
the coefficients of autocorrelation
Dear I have their whole labview VI embeded that implements gzuncompress() its the correlation measure Best regards