Help - run the extended CO query?
Read the many threads on the topic prior to this announcement, but im still stuck.I extended a sowing controller, to display text msgStyle seeded as a link under certain conditions.
I want to take is:
If (condition true) {//set the text msg destination uri} otherwise do nothing
To implement the condition, I have to make a request to check if this value exists in the table. I have not any Vo attached to achieve this.
I could create a custom VO and attach it to AM programaticaly? One last thing - AM attached to this seeded page is am root.
I read that AM root should not be extended.
How can I achieve this?
Hello
For this, you can use dynamic VO, create VO, and run the query.
Kind regards
Out Sharma
Tags: Oracle Applications
Similar Questions
-
Medieval II: Total War Kingdoms errors and closes when I run the extended version
Hi, I'm an Italian Player. I have the Italian version of medieval 2 total war and the italianversion of the expansion of the Kingdom. When I play with medieval 2 total war not expanded, it is all ok. When I play a Pentecost of the four campaign special, it's still all ok. But when I play the game using the kingdomx.exe file I get an error at the beginning of the game. I have the error before the SEGA text and I get an empty error message.
I want to play whit a mod which require the departure of the kingdom.exe and I can not play if the gam to hang. Help me please!Hi Niles86,
· Did you do changes on the computer before the show?
Follow these methods.
Method 1: Try to run the game as administrator.
How to apply once with a full administrator access token?
Method 2: Follow the steps in the article.
The problems of the game performance
http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
Method 3: Update the graphics/display drivers.
Updated a hardware driver that is not working properly
http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly
-
Help returns the array of query results
Hi all... Pretty new to this so please forgive my ignorance. Running Oracle 11 g, trying to return results as in the example I give below. I don't know how the Sport field will have unique values, and I don't know how many unique values the year field is seen in the data. Does anyone have recommendations/suggestions?
The structure of the table is:
Year of sport
Baseball 10-11
Football 10-11
Football 11-12
Football 11-12
Football 11-12
Baseball 11-12
The result should be sports in each year and should be grouped by year but shown as columns so:
(GROUP OF the year)
1, baseball 1, Football
2, 1, Football Soccer 1, Baseball
I hope that makes sense. Thanks for any help!
... KaelonDoes anyone have recommendations/suggestions?
Maybe something like:
SQL> with t as ( select 'Baseball' sport, '10-11' year from dual union all select 'Football', '10-11' from dual union all select 'Football', '11-12' from dual union all select 'Football', '11-12' from dual union all select 'Soccer', '11-12' from dual union all select 'Baseball', '11-12' from dual ) -- -- select year, listagg(cnt || ', ' || sport, ' ') within group (order by cnt desc) sports from ( select count(*) cnt, sport, year from t group by sport, year) group by year / YEAR SPORTS ------- ---------------------------------------- 10-11 1, Baseball 1, Football 11-12 2, Football 1, Baseball 1, Soccer 2 rows selected.
?
-
Need help, run the stored procedure in ASP.
I have a web page in which I would use a query like http://ereply.us/q/l.asp?id=383966476 string
It directs the user to a page that contains the following code:
<!-queue = "database_connection.asp #include" - > "
< %
If not isempty (request.querystring ("id")) then
SQL = "exec dbo.fp_qr_code @sequence (request.querystring ("id")) =" "
If rs.state = 1 then rs.close
RS. Open sql, conn, 3, 2
If rs.recordcount <>0 then
session("Name") = rs ("name")
session("JobID") = rs ("jobid")
session("SEQ") = rs ("seq")
If rs ("id") <>"" then the answer. " Redirect ("index.asp")
end if
end if
% >It queries a SQL database to return the value of 'name '. In turn, according to the code of the user should be directed to 'Index.asp' that contains:
Welcome < % response.write (session("name")) % >
And the page you should see the page with"Welcome". Instead, I get a server 500 error. The stored procedure runs as a stand-alone query in SQL Management Studio.
Any ideas would be greatly appreciated.
I solved this. This is the query that worked:
< %="">< br="">SQL = "" exec fp_qr_code ' "& request.querystring ("id") &" ' " < br=""> set rs = Conn.Execute (sql) < br=""> if rs.eof then response.write ("no registration") < br=""> while not rs.eof" ""
response.write (("name") rs)response.write (("imgname") rs)
response.write (rs ('url'))
RS.MoveNext
Wend < br=""> %> -
Help of the complex select query (Group by)
Hello
I am in need of your help to create a unique select query for the data in the table below and whose output requies. I use oracle 10g on RHEL 5 version.
create table bustour (number of bussno (4), start_date date, number (2)) passenger;
ALTER session set nls_date_format = "dd-mm-yyyy";
insert into bustour values (4123, April 10, 2009 ", 20);
insert into bustour values (4123, may 10, 2009 ", 25);
insert into bustour values (4123, may 10, 2009 ', 18);
insert into bustour values (4123, June 10, 2009 ', 15);
insert into bustour values (6138, March 10, 2009 ', 16);
insert into bustour values (' 6138, March 10, 2009 ", 19);
insert into bustour values (6138, April 10, 2009 ', 22);
insert into bustour values (' 6138, April 10, 2009 ", 13);
insert into bustour values ("4123, July 10, 2009 ', 23);
insert into bustour values (4123, August 10, 2009 ", 27);
insert into bustour values (4123, November 10, 2009 ', 15);
insert into bustour values (6138, may 10, 2009 ', 16);
insert into bustour values (6138, may 10, 2009 ', 13);
insert into bustour values (6138, may 10, 2009 ', 18);
insert into bustour values (' 6138, may 10, 2009 ", 24);
insert into bustour values (6138, July 10, 2009 ", 20);
insert into bustour values (6138, August 10, 2009 ", 18);
So that we can know on what particular travel calendar, we have obtained maximum passengers and the date. (For calculating % of bonus driver)SQL> select * from bustour; BUSSNO START_DATE PASSENGERS ---------- ---------- ---------- 4123 04-10-2009 20 4123 05-10-2009 25 4123 05-10-2009 18 4123 06-10-2009 15 6138 03-10-2009 16 6138 03-10-2009 19 6138 04-10-2009 22 6138 04-10-2009 13 4123 07-10-2009 23 4123 08-10-2009 27 4123 11-10-2009 15 BUSSNO START_DATE PASSENGERS ---------- ---------- ---------- 6138 05-10-2009 16 6138 05-10-2009 13 6138 05-10-2009 18 6138 05-10-2009 24 6138 07-10-2009 20 6138 08-10-2009 18 17 rows selected. I want query output as below : Bussno start_date end_Date totalpassengers maxpessenger maxpassdate 4123 04-10-09 06-10-09 78 25 05-10-09 6138 03-10-09 04-10-09 70 22 04-10-09 4123 07-10-09 11-10-09 65 27 08-10-09 6138 05-10-09 08-10-09 109 24 05-10-09
Please help me to write the query.
Best regards
NishaOK, something like this:
with my_tab as (select 1 id, 4123 busno, to_date('04/10/2009', 'dd/mm/yyyy') start_date, 20 passengers from dual union all select 2 id, 4123 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 25 passengers from dual union all select 3 id, 4123 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 18 passengers from dual union all select 4 id, 4123 busno, to_date('06/10/2009', 'dd/mm/yyyy') start_date, 15 passengers from dual union all select 5 id, 6138 busno, to_date('03/10/2009', 'dd/mm/yyyy') start_date, 16 passengers from dual union all select 6 id, 6138 busno, to_date('03/10/2009', 'dd/mm/yyyy') start_date, 19 passengers from dual union all select 7 id, 6138 busno, to_date('04/10/2009', 'dd/mm/yyyy') start_date, 22 passengers from dual union all select 8 id, 6138 busno, to_date('04/10/2009', 'dd/mm/yyyy') start_date, 13 passengers from dual union all select 9 id, 4123 busno, to_date('07/10/2009', 'dd/mm/yyyy') start_date, 23 passengers from dual union all select 10 id, 4123 busno, to_date('08/10/2009', 'dd/mm/yyyy') start_date, 27 passengers from dual union all select 11 id, 4123 busno, to_date('11/10/2009', 'dd/mm/yyyy') start_date, 15 passengers from dual union all select 12 id, 6138 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 16 passengers from dual union all select 13 id, 6138 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 13 passengers from dual union all select 14 id, 6138 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 18 passengers from dual union all select 15 id, 6138 busno, to_date('05/10/2009', 'dd/mm/yyyy') start_date, 24 passengers from dual union all select 16 id, 6138 busno, to_date('07/10/2009', 'dd/mm/yyyy') start_date, 20 passengers from dual union all select 17 id, 6138 busno, to_date('08/10/2009', 'dd/mm/yyyy') start_date, 18 passengers from dual) -- end of mimicking your data; use SQL below: select busno, min(start_date) start_date, max(start_date) end_date, sum(passengers) total_passengers, max(passengers) max_passengers, max_pass_date from (select id, start_date, busno, passengers, distance, max(start_date) keep (dense_rank first order by passengers desc) over (partition by distance, busno) max_pass_date from (select id, start_date, busno, passengers, -- using tabibitosan method, borrowed from Aketi Jyuuzou dense_rank() over (order by id) - row_number() over (partition by busno order by id) distance from my_tab)) group by busno, distance, max_pass_date order by min(id) BUSNO START_DATE END_DATE TOTAL_PASSENGERS MAX_PASSENGERS MAX_PASS_DATE ---------- ---------- ---------- ---------------- -------------- ------------- 4123 04/10/2009 06/10/2009 78 25 05/10/2009 6138 03/10/2009 04/10/2009 70 22 04/10/2009 4123 07/10/2009 11/10/2009 65 27 08/10/2009 6138 05/10/2009 08/10/2009 109 24 05/10/2009
-
Help on the game of query results
Hi gurus,
Have this survey for my requirement of dataset sql.
Sample, it's that I have to pick up the nonfunctional currency transactions.
Lets say for a given month, data that are present are for CurrencyA and CurrencyB for a particular account.
Account1 has a transaction does not work CurrencyA and CurrenyB then Account2 has only transaction to CurrencyB.
My current query result is that the 3 first lines, what I need is the 4th should also appear and be included.
CurrencyA - amount - account1
CurrencyB - amount - account1
CurrencyB - amount - Account2
CurrencyA - < '0' / or null >-Account2
I think that my request is based on the currency < x > I have, so it should be for each account, he has all the lines for each currency.
If please notify and let me know your thoughts.
Kind regards
Hello
It looks like you want an outer join partitioned.
I hope that answers your question.
If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results desired from these data.
Explain, using specific examples, how you get these results from these data.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).See the FAQ forum: https://forums.oracle.com/message/9362002
-
Please help with the extended search and replace
Thanks in advance to dedicate time to help.
Why does this work?
Find: jpg ">"
"Replace: jpg" alt = "" >
Parameters:
Current document
Text (Advanced)
Inside of the tag (img selected) and I tried to not inside tag
All the option boxes unchecked
Click on replace all
And nothing is found or replaced but there are many of them.
I live and die by that in Homesite then please help me understand this so I must not have market Homesite too. I like it very much because such simple things makes me batty.
You do this in the following parameters:
Parameters:
Current document
Source code (and not text)
Inside of the tag (img selected) and I tried to not inside tag
All the option boxes unchecked
Kind regards
Vinay
-
Trigger to run the query when the value of LOV is selected
HI guys,.
I have a form in which I have 2 fields in Master and 4 fields in detail, showing all on the same canvas.
I put a "execute_query" in when_new_form_instance trigger so that when I open the form it is pre - filled.
The fields get the values LOVs. I want to run the master block query when the user selects a value in LOV, then in what trigger should I put it.
I tried in 'when_validate_item' and 'when_list_changed' triggers, but it showed an error.
So, what should I do?
Concerning
Ranjanuser8664136 wrote:
I want to run the master block query when the user selects a value of LOVIf master block (header) is based on the table, using LOV without pressing enter_query firstly, update existing record.
Here's my version (Andreas, sorry, I used your code :))TO KEY-LISTVAL:
DECLARE tm TIMER:=FIND_TIMER('TM_QUERY'); BEGIN IF ID_NULL(tm) THEN tm:=CREATE_TIMER('TM_QUERY', 1, NO_REPEAT); END IF; ENTER_QUERY; END;
In WHEN-TIMER-EXPIRED:
IF SHOW_LOV('LOV') THEN EXECUTE_QUERY; END IF;
-
Protection in real time in MSE stopped working after running the utility in Windows Live OneCare cleanup tool? Error Code: 0x800705b4
Hello Wally,
Thanks for posting your query on the Microsoft Community.
The question error codes and the description that you get suggests that you are facing problem when using MSE. This problem may occur if other security software, such as antivirus, antispyware and antimalware programs, are totally or partially installed on the computer.
I suggest to change firewall security settings or disable temporary security on the system software and try using MSE and see if it makes a difference. How to temporarily disable security software, you can view the article mentioned below.
Disable the antivirus
http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software
Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attack.
For more details, please see the article mentioned below and see that it helps you to fix the problem.
Real-time protection lights in Microsoft Security Essentials
Hope that the information provided is useful. Let us know if you have any concerns related to Windows. We will be more than happy to help you.
Kind regards
-
Hello
I use ATG version 10.2 and you have configured CRS application by IMC. All data import and deployments have been successful.
Applications of short (MDEX 6.4.1, CASE 3.2.1 6.4.1.2, tools and Framework 3.1.2 platform services) are running: port 8006, 8500, race 8888.
Now MY PROBLEM IS in TWO PARTS:
PART 1) Ran the store on jboss, has worked well, core application started without any error. When trying to load the homepage, get following error message:
16:42:25, 926 full repository INFO [SEORepository] SQL boot
16:43:32, 653 ERROR [DynamoServlet]
CAUGHT AT:
Container: ATG.servlet.jsp.ContainerJspException: Cannot find the named component: / atg/registry/Slots/HomeTheme; Source: javax.servlet.ServletException: Cannot find the named component: / atg/registry/Slots/HomeTheme
at atg.taglib.dspjsp.ParamTag.doStartTag(ParamTag.java:419)
at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspx_meth_dsp_005fparam_005f0(homePagePromotions_jsp.java:1021)
at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspService(homePagePromotions_jsp.java:219)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatcher.java:123)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:883)
at org.apache.jsp.index_jsp._jspx_meth_dsp_005finclude_005f1(index_jsp.java:633)
to org.apache.jsp.index_jsp.access$ 1 (index_jsp.java:622)
to org.apache.jsp.index_jsp$ Helper.invoke1 (index_jsp.java:685)
to org.apache.jsp.index_jsp$ Helper.invoke (index_jsp.java:711)
at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_c_005fwhen_005f1(pageContainer_tag.java:2757)
at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:812)
at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:598)
at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:565)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...........................
...........................
...........................
...........................
At this point, the CRS page opens but no short content. Don't load no registration, no image on the home page does display, NO SEARCH BOX displayed in the header.
PART 2) On top of that when I try to run the server pubishing on JBOSS, start does'nt server and responds to error. If the das_id_generator table exists in DB for all 4 patterns.
16:09:41, 082 INFO [ScreenLog] with logging of external for debug messages and trace kernel to avoid hidden kernel logging information. Set the property /atg/dynamo/service/logging/ScreenLog.useInfoForDebug to false nucleus to use external instead trace and debug logging.
16:09:41, 199 INFO [Version] HV000001: Hibernate Validator 4.3.1.Final
16:09:41, 748 Truncating WARN [ClusterBroadcaster] serviceProperties "commandLineModules" key value
16:09:42, size INFO [STDOUT] 345 (ERR_QUERY_TABLE, das_id_generator
16:09:42, 351 ERROR [IdGenerator]
CAUGHT AT:
Container: ATG.service.IdGen.IdGeneratorException; Source: Container: ATG.service.IdGen.IdGeneratorException: Cannot query the table 'das_id_generator '. Please make sure that the table exists and is accessible before you start this service. ; Source: Java.Sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at atg.service.idgen.PersistentIdGenerator.initialize(PersistentIdGenerator.java:389)
at atg.service.idgen.AbstractSequentialIdGenerator.doStartService(AbstractSequentialIdGenerator.java:643)
at atg.nucleus.GenericService.startService(GenericService.java:561)
at atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)
at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1397)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
at atg.nucleus.ConfigurationRef.getValue(ConfigurationRef.java:119)
at atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
at atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
at atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
at atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
at atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
at atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
at atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
........................
........................
........................
An early response would be really useful because we have demo in 10 days.
Kind regards
Ben Milot
Thank you for this comment.
I had created a fresh scheme for publication but the jboss was still pointing to the old.
I've updated this pointers in file @ /server/
atg atg - ds - ds.xml. Worked like a charm! If 2nd EDITION solved.
The QUESTION 1 depended on question 2. Once I ran publishing and completed the full deployment on ICC, 1st edition got resolved.
Thanks to shaik and Grando
Kind regards
Ben Milot
-
Hi guys
I created a dynamic .bat file created inside java and copy it to a location and managed through fileObj.execute ();
Example of
-------------------
var line1 = 'some code ";
var line2 = 'some code ";
myCode var = line 1 + line 2;
var myFileC = new file
myFileC.open ('w');
myFileC.write (myCode);
myFileC.copy ("some location\file.bat");
myFileC.close ();
Run the .bat file
batFile var = new file ("of the location\file.bat");
batFile.execute ();
Now .bat file is successfully executed but the content of this file created bat shows up to extend in script by removing all my code above...
I have to cancel to do back whenever I run and sometimes accidentally I saved it lose all the code.
can someone help with this problem?
Simply change it to this:
var myFileC = new File ("some location\file.bat");
myFileC.open ('w');
myFileC.write (myCode);
myFileC.close ();
-
use F8 &; F10 keys on the keyboard to run the query and save a form
I created a screen. Here I can save by pressing CTRL + S (written a validation key trigger) or the button Save, I placed.
Now the user want to F10 to save & key F8 to run the query.
How can I do? Should what trigger I write the code...
I use oracle 10g and oracle developer suite 10 g.
I have fmrweb.res as follows:-
9: 0: 'Tab': 1: "then on the ground."
9: 2: "Ctrl + Tab": 1: "then on the ground."
9: 1: "Shift + Tab": 2: "previous field.
9: 3: 'Shift + Ctrl + Tab': 2: "previous field.
85: 2: "Ctrl + U": 3: "clear the field".
38: 0: 'Up': 6: 'Up '.
40: 0: 'Down': 7: "Down".
33: 0: 'PG': 12: "scroll to top".
34: 0: "PageDown": 13: "scroll."
69: 2: 'Ctrl + E': 22: 'Edit '.
10: 0: "Enter": 27: «Back»
120: 0: 'F9': 29: "list of values".
76: 2: "Ctrl + L": 29: "list of values".
81: 2: 'Ctrl + Q': 32: "Exit".
75: 2: "Ctrl + K": 35: 'display keys '.
112: 2: 'Ctrl + F1': 35: 'display keys '.
83: 2: 'Ctrl + S': 36: 'engage '.
121: 2: "F10": 36: 'engage '.
114: 1: 'SHIFT + F3': 61: 'next primary key '.
115: 1: "SHIFT + F4": 62: "delete folder".
117: 1: "SHIFT + F6": 63: 'delete folder '.
115: 0: "F4": 64: "Double registration".
117: 0: 'F6': 65: "insert record".
119: 1: "SHIFT + F8": 66: "a next Recordset.
1005: 0: 'Down': 67: "then save.
1004: 0: 'Up': 68: "history".
40: 1: 'Shift + down': 67: "then save.
38: 1: "shift + up": 68: "history".
116: 1: "Shift + F5": 69: 'clear the block '.
116: 0: 'F5': 70: "block the Menu."
34: 1: "shift + page down": 71: 'then block '.
33: 1: ' shift + Pg. Prev ': 72: "previous block.
34: 2: "Ctrl + PG. Next": 71: 'then block '.
33: 2: "Ctrl + PG. Prev': 72: "previous block.
114: 0: "F3": 73: "duplicate field '.
118: 1: "Shift + F7": 74: 'clear form '.
118: 0: "F7": 76: "enter the query."
119: 0: 'F8': 77: 'execute the query. "
122: 0: 'F11': 76: "enter the query."
122: 2: "Ctrl + F11": 77: 'execute the query. "
112: 1: "SHIFT + F1": 78: "error to display.
80: 2: 'Ctrl + P': 79: 'print '.
113: 1: "SHIFT + F2": 80: "request Count".
123: 0: "F12": 81: "update file".
121: 3: 'Shift + Ctrl + F10': 82: "function 0".
112: 3: 'Shift + Ctrl + F1': 83: «Function 1"»
113: 3: 'Shift + Ctrl + F2': 84: «Function 2"»
114: 3: 'Ctrl + Shift + F3': 85: «function 3"»
115: 3: 'Shift + Ctrl + F4': 86: «function 4"»
116: 3: 'Shift + Ctrl + F5': 87: «Function 5"»
117: 3: 'Shift + Ctrl + F6': 88: «function 6"»
118: 3: 'Shift + Ctrl + F7': 89: «Function 7"»
119: 3: 'Shift + Ctrl + F8': 90: «Function 8"»
120: 3: 'Shift + Ctrl + F9': 91: «Function 9"»
113: 0: 'F2': 95: "list of tab Pages.
72: 2: "Ctrl + H": 30: "Help".
112: 0: 'F1': 30: "Help".
Please suggest...Hello.
First of all check that you have set "term" among others in the variable 'otherparams' in formsweb.cfg
For example:
otherparams = expression = term %
Then make sure that you put the correct path for the keyboard mapping file in the variable "term" as I wrote in the previous post.
Things should work as I did several times.
Best regards.
-
Run the query according to the transaction.
Hi all
I am able to run the query, but I want to run query award date.
I created the timer for shape and I want when user update the record for the same registration date must run, do not run the query from the previous day.
is this possible?
can someone help me?
SarahSee other thread
-
Helps with the exclusion of the query items
I compare two identical tables between databases using the links to the db and I'm having issues getting my correct join show lines that exist in a table and not the other. The purpose of the request is to view the items that exist in one but not the other and where the value is different between the elements. The Grp, layer and Name columns are PKs.
So take the following data:
The result of the query should be:DB1 Grp Name Layer Value Alpha Key_One ModA 1 Beta Key_Two ModA 1 Gamma Key_Three ModB 0 Delta Key_Four ModA True Epsilon Key_Five ModB Hat Zeta Key_Six ModB Red DB2 Grp Name Layer Value Alpha Key_One ModA 0 Beta Key_Two ModA 1 Gamma Key_Three ModB 0 Delta Key_Four ModA False Epsilon Key_Five ModA Hat Eta Key_Seven ModB 0
I've been able to get the query to pull the differences when the record exists in both tables, but were not able to get when recording exists only in a single table. If it's important, I'm on 10.2.0.4.Grp Name Layer DB1.Value DB2.Value Alpha Key_One ModA 1 0 Delta Key_Four ModA True False Epsilon Key_Five ModA Hat Epsilon Key_Five ModB Hat Zeta Key_Six ModB Red Eta Key_Seven ModB 0
After the implementation of the above, I can run the following script which returns all but I want to exclude records where they correspond, in the example above, are GRPs beta and Gamma.CREATE TABLE tab1 (grp VARCHAR2 (10), nm VARCHAR2 (15), layer VARCHAR2 (4), rec_value VARCHAR2 (10)); CREATE TABLE tab2 (grp VARCHAR2 (10), nm VARCHAR2 (15), layer VARCHAR2 (4), rec_value VARCHAR2 (10)); INSERT INTO tab1 VALUES ('Alpha', 'Key_One', 'ModA', '1'); INSERT INTO tab1 VALUES ('Beta', 'Key_Two', 'ModA', '1'); INSERT INTO tab1 VALUES ('Gamma', 'Key_Three', 'ModB', '0'); INSERT INTO tab1 VALUES ('Delta', 'Key_Four', 'ModA', 'True'); INSERT INTO tab1 VALUES ('Epsilon', 'Key_Five', 'ModB', 'Hat'); INSERT INTO tab1 VALUES ('Zeta', 'Key_Six', 'ModB', 'Red'); INSERT INTO tab2 VALUES ('Alpha', 'Key_One', 'ModA', '0'); INSERT INTO tab2 VALUES ('Beta', 'Key_Two', 'ModA', '1'); INSERT INTO tab2 VALUES ('Gamma', 'Key_Three', 'ModB', '0'); INSERT INTO tab2 VALUES ('Delta', 'Key_Four', 'ModA', 'False'); INSERT INTO tab2 VALUES ('Epsilon', 'Key_Five', 'ModA', 'Hat'); INSERT INTO tab2 VALUES ('Eta', 'Key_Seven', 'ModB', '0'); COMMIT;
Any help would be appreciated.SELECT NVL (tab1.grp, tab2.grp) grp, NVL (tab1.nm, tab2.nm) nm, NVL (tab1.layer, tab2.layer) layer, tab1.rec_value tab1_value, tab2.rec_value tab2_value FROM tab1 FULL OUTER JOIN tab2 ON tab1.grp = tab2.grp AND tab1.nm = tab2.nm AND tab1.layer = tab2.layer ORDER BY 1,2,3; GRP NM LAYER TAB1_VALUE TAB2_VALUE ---------- --------------- ----- ---------- ---------- Alpha Key_One ModA 1 0 Beta Key_Two ModA 1 1 Delta Key_Four ModA True False Epsilon Key_Five ModA Hat Epsilon Key_Five ModB Hat Eta Key_Seven ModB 0 Gamma Key_Three ModB 0 0 Zeta Key_Six ModB Red 8 rows selected.
Hello
Just add a WHERE clause that makes tab1.rec_value and tab_2.rec_value are different, accounting for NULL values. (The only change I made to your application, in addition to the formatting, was to add a WHERE clause).
If rec_value may not actually be NULL:SELECT NVL (tab1.grp, tab2.grp) grp , NVL (tab1.nm, tab2.nm) nm , NVL (tab1.layer, tab2.layer) layer , tab1.rec_value tab1_value , tab2.rec_value tab2_value FROM tab1 FULL OUTER JOIN tab2 ON tab1.grp = tab2.grp AND tab1.nm = tab2.nm AND tab1.layer = tab2.layer WHERE DECODE ( tab1.rec_value , tab2.rec_value, 1 , 0 ) = 0 ORDER BY 1,2,3;
If rec_value can be null, we must distinguish between the ranks, which is NULL because he wasn't match (and therefore should be included) and the lines where the two are really NULL (and therefore, should not be displayed).
If one of the columns used to join the tables is NULL, the row is missing in one of the tables, and so forge displayed regardless of whether the rec_values is, so we can add a condtion to the WHERE clause:SELECT NVL (tab1.grp, tab2.grp) grp , NVL (tab1.nm, tab2.nm) nm , NVL (tab1.layer, tab2.layer) layer , tab1.rec_value tab1_value , tab2.rec_value tab2_value FROM tab1 FULL OUTER JOIN tab2 ON tab1.grp = tab2.grp AND tab1.nm = tab2.nm AND tab1.layer = tab2.layer WHERE DECODE ( tab1.rec_value , tab2.rec_value, 1 , 0 ) = 0 OR LEAST (tab1.grp, tab2.grp) IS NULL ORDER BY 1,2,3;
To test this, I added these 3 rows to the data:
INSERT INTO tab1 VALUES ('Theta', 'Key_Seven', 'ModB', NULL); INSERT INTO tab2 VALUES ('Theta', 'Key_Seven', 'ModB', NULL); INSERT INTO tab2 VALUES ('Iota', 'Key_Seven', 'ModB', NULL);
GRP = "Theta" should appear not, because the lines are identical in both tables.
GRP = 'Iota' should be displayed, because it is present only in tab2. -
Need help in the optimization of the query with the Group and joins by clause
I'm having the problem by running the following query... It takes a lot of time. To simplify, I added the two tables FILE_STATUS = stores the file load details and COMM table Board table job showing records treated successfully and which was communicated to the other system real. Records with status = T is trasnmitted to another system and traansactions with P is waiting.
Here's the query I wrote to give me the details of the file that has been loaded into the system. He reads the table of State and the commission files to display the name of the file, total records loaded, total at the table of the commission and the number of records which has finally been passed successfully loaded (Status = T) with other systems.CREATE TABLE FILE_STATUS (FILE_ID VARCHAR2(14), FILE_NAME VARCHAR2(20), CARR_CD VARCHAR2(5), TOT_REC NUMBER, TOT_SUCC NUMBER); CREATE TABLE COMM (SRC_FILE_ID VARCHAR2(14), REC_ID NUMBER, STATUS CHAR(1)); INSERT INTO FILE_STATUS VALUES ('12345678', 'CM_LIBM.TXT', 'LIBM', 5, 4); INSERT INTO FILE_STATUS VALUES ('12345679', 'CM_HIPNT.TXT', 'HIPNT', 4, 0); INSERT INTO COMM VALUES ('12345678', 1, 'T'); INSERT INTO COMM VALUES ('12345678', 3, 'T'); INSERT INTO COMM VALUES ('12345678', 4, 'P'); INSERT INTO COMM VALUES ('12345678', 5, 'P'); COMMIT;
In production, this request has several joins and takes a long time to deal with... the main culprit for me is the join on the COMM table to count the number of number of transactions sent. Please can you give me tips to optimize this query to get results faster? What I need to delete the Group and use the partition or something else. Help, please!SELECT FS.CARR_CD ,FS.FILE_NAME ,FS.FILE_ID ,FS.TOT_REC ,FS.TOT_SUCC ,NVL(C.TOT_TRANS, 0) TOT_TRANS FROM FILE_STATUS FS LEFT JOIN ( SELECT SRC_FILE_ID, COUNT(*) TOT_TRANS FROM COMM WHERE STATUS = 'T' GROUP BY SRC_FILE_ID ) C ON C.SRC_FILE_ID = FS.FILE_ID WHERE FILE_ID = '12345678';
Don't know if it will be faster based on the information provided, but analytical functions offer an alternative approach;
select carr_cd, file_name, file_id, tot_rec, tot_succ, tot_trans from (select fs.carr_cd, fs.file_name, fs.file_id, fs.tot_rec, fs.tot_succ, count(case when c.status = 'T' then 1 else null end) over(partition by c.src_file_id) tot_trans, row_number() over(partition by c.src_file_id order by null) rn from file_status fs left join comm c on c.src_file_id = fs.file_id where file_id = '12345678') where rn = 1; CARR_CD FILE_NAME FILE_ID TOT_REC TOT_SUCC TOT_TRANS ------- -------------------- -------------- ---------- ---------- ---------- LIBM CM_LIBM.TXT 12345678 5 4 2
Maybe you are looking for
-
Upgrading RAM on Satellite Pro M30
Hi colleagues! My comp is Satellite Pro M30-873. He has only 512 MB of main memory.I want to spend 1 to 2 GB. Recommended memory is Kingston KTT3311which is extremely difficult to buy. A very similar memory of Kingston is KVR333X64SC25. It is fully c
-
Re: Two questions on Satellite A300 and Win7 32 bit
Hello I have a satellite A300 PSAJ4E windows 7 32 bit.I installed all the drivers to Toshiba support, but I have 2 problems.the first is that sometimes my screan does not open while the laptop is open and functioning. I know that his work because whe
-
M4V files together will not play
Hey,. I tried to reach some mp4 files linked together and can hit mp4joiner (mp4joiner.org). I joined together some mp4s I had downloaded from the internet and it worked fine. The problem came when I tried to join the m4v files that comes originally
-
Update error 80070641 install KB2509488, KB2539530 & KB2536413
original title: Update error 80070641 I get error 80070641 when I try to update windows Vista. KB2509488 KB2539530 Kb2536413 I disabled my Norton Antivirus & Firewall, but the error comes back. Can you help me? Thank you
-
event I / d numbers :-400,101,100,408,407,402,200,201,500 and 501 are more common.