duplicate group by using the statement
4 columns in the table named RRID1RRI_ID
USER_ID
PROCESS_TYPE
FUNCTION
don't know how to make this request.
Need to learn where all the RRI_ID type = "INFO".
and USER_ID IS DOUBLE for this RRI_ID.
That's what some of the data looks like to...
PROCESSTYPE | USER_ID. FUNCTION | RRI_ID
3668 30287 817 INFO
3748 30287 817 INFO
4714 30287 817 INFO
4875 30287 817 INFO
4882 30287 817 INFO
4885 30287 817 INFO
3748 30288 818 INFO
4714 30288 818 INFO
4716 30288 818 INFO
4882 30288 818 INFO
4885 30288 818 INFO
819 30289 3668 INFO
819 30289 4716 INFO
819 30289 4875 INFO
819 30289 4882 INFO
819 30289 4885 INFO
3668 30290 820 INFO
4716 30290 820 INFO
4875 30290 820 INFO
4882 30290 820 INFO
4885 30290 820 INFO
3668 30291 821 INFO
4714 30291 821 INFO
4716 30291 821 INFO
4875 30291 821 INFO
4882 30291 821 INFO
Published by: user11299998 on October 1, 2010 07:21
Published by: user11299998 on October 1, 2010 07:22
Published by: user11299998 on October 1, 2010 07:22
Published by: user11299998 on October 1, 2010 07:22
Something along the lines of...
select rri_id, user_id, process_type, function
from (
select rri_id, user_id, process_type, function
,count(*) over (partition by rri_id, user_id) as cnt
from rrid1
)
where process_type = 'INFO'
and cnt > 1
Tags: Database
Similar Questions
-
Use the state machine to fill cluster
Hello
I am trying to create a state machine that is running two States, each State has two items up to a Bundle function and in the cluster. I want the two elements of the State first across, then the second State should run and pass the last two items. Currently, I get only the data of the final State. I have one the vi attached.
Thank you
Chris
You don't actually have a state machine. What you have is a simple loop, and nothing of what is happening in the previous iterations of the loop is spent in later iterations.
You must create the cluster in the loop itself and maintatin into a shift register. Use the bundle by name to update the respective elements of the cluster in each picture of the structure of the case.
-
Tips to remember when using the state machine in queue
I was able to work through the convert my architecture of State Machine for a BAU, thus eliminating the use of nodes of property/local variables to send data values to my machine of the State, but rather to send through queues.
I would like some advice/tips on taking to serve perfectly. Especially, "is not to make" things with queues and how to effectively release a queue, etc.. What is the convention when using queues? Thank you!
V
-
Duplicate RMAN cloning using the database using the current database
Hi all
I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.
steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.
Thank you.
Kind regards.
OS: RHEL 5.4
DB: 11.2.0.3
Hello
Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.
He had provided the demonstration, at least get in 'google' (you'll have so many links)
The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home
http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/
Note: If you feel always complex, better skip the task itself.
-Thank you
Pavan Kumar N
-
using the statement and pagebox to spend
I am very new to javascript, but I'm trying to write a small script to provide automation based on the size of the page.
I know that my current document is one of the cases listed, but I can't get the switch statement below to acknowledge.
Any help would be greatly appreciated. I use Acrobat Pro 9. Thank you
function test() {}
var pSize = this.getPageBox ("Crop");
App.Alert (pSize, 3);
{Switch (psize)}
case '0,612,792,0': //A
App.Alert ("Page size", 0);
break;
case '0,792,1224,0': //B
App.Alert ("B size Page", 0);
break;
case '0,1224,1584,0': //C
App.Alert ("C size Page", 0);
break;
case '0,1584,2448,0': //D
App.Alert ("D size Page", 0);
break;
by default:
App.Alert ("size of the Page Not Found!", 0); / / do this if all else fails
break;
}
}
You can try to convert the table to a string using the switch statement:
var pSize = this.getPageBox("Crop"); pSize = String (pSize); // Now, use switch statement as you have it.
-
Version: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
Hello
I Merge statement that throws an error that it's an invalid statement, but I do not understand why.
The statement is:
MERGE INTO tbs_forecasts_archive tfa USING (SELECT pub_fc.forecast_id ,pub_fc.last_approved_date ,pub_fc.resource_id ,pub_fc.project_id ,pub_fc.cme_system ,pub_fc.role ,pub_fc.forecast_type ,pub_fc.last_updated ,pub_fc.last_updated_by ,pub_fc.old_forecast_id ,pub_fc.start_date ,pub_fc.end_date FROM published_forecast pub_fc INNER JOIN tbs_projects ON tbs_projects.project_id = pub_fc.project_id LEFT JOIN tbs_areas ON tbs_areas.area_id = tbs_projects.area_id INNER JOIN resources ON resources.resource_id = pub_fc.resource_id INNER JOIN tbs_teams ON tbs_teams.team_id = resources.tbs_team_id WHERE ( tbs_projects.group_id = :P0_GROUP ) AND ( tbs_projects.area_id = :P86_AREA OR :P86_AREA = 0 ) AND ( tbs_projects.project_id = :P86_PROJECT OR :P86_PROJECT = 0 ) AND ( tbs_teams.team_id = :P86_TEAM OR :P86_TEAM = 0 ) ) pf ON ( tfa.forecast_id = pf.forecast_id AND TRUNC(tfa.baseline_name) = TRUNC(pf.last_approved_date) ) WHEN MATCHED THEN UPDATE SET tfa.resource_id = pf.resource_id ,tfa.project_id = pf.project_id ,tfa.cme_system = pf.cme_system ,tfa.role = pf.role ,tfa.forecast_type = pf.forecast_type ,tfa.last_updated = pf.last_updated ,tfa.last_updated_by = pf.last_updated_by ,tfa.old_forecast_id = pf.old_forecast_id ,tfa.start_date = pf.start_date ,tfa.end_date = pf.end_date WHEN NOT MATCHED THEN INSERT ( forecast_id ,baseline_name ,resource_id ,project_id ,cme_system ,role ,forecast_type ,last_updated ,last_updated_by ,old_forecast_id ,start_date ,end_date ) VALUES ( pf.forecast_id ,pf.baseline_name ,pf.resource_id ,pf.project_id ,pf.cme_system ,pf.role ,pf.forecast_type ,pf.last_updated ,pf.last_updated_by ,pf.old_forecast_id ,pf.start_date ,pf.end_date );
Can someone explain what's wrong with this statement? It seems that it is a syntax error, but I was not able to find an example that uses multiple tables in select it like that.
Do I need to provide data and tables?
Can what additional information I give?
Thank you
Joe
Would be - this pf.baseline_name in your VALUES clause is an invalid reference. TRUNC (pf.last_approved_date) is maybe what you mean?
Kind regards
Bob
-
duplicate database 10g using the backup of the previous incarnation
Hello
Database is 10.2.0.4.
At the point where X, I did a full backup
To the X + 10 poin I flashed of database back to time X + 5
Database currently is runnig. So now we are at the point in time X + 100
Now I need to duplicate the database to point in time X + 100 using the above mentioned full backup (full backup set in point in time X, then, before the return of flame)
I could use the normal procedure:
connect the target
auxiliary connection
to connect to the catalog
allocate channels
together until...
data duplicated blabla
Or do I have to do different steps?
Thank you very much in advance, massi
The FLASHBACK DATABASE would have required an ALTER DATABASE OPEN RESETLOGS open the database. This command would have changed the incarnation of the database. If all subsequent recovery logs and the database itself are another incarnation - a future incarnation until the return of flame. The flashback prior backup controlfile is NOT aware of the subsequent incarnation!
Hemant K Collette
-
Monitoring the memory usage on iOS using the Stats class
I was check memory usage on an application I'm developing for iOS using Stats class https://github.com/mrdoob/Hi-ReS-Stats ( http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3-315cd077124319488fd-7fff.html#WS 948100b6829bd5a61637f0a412623fd0543-8000).
I added the class Stats to my project and redeployed and, Ouch, reported in Stats memory usage ramp upward (quite slowly) even when there is nothing going on in the application (just displaying a loaded bitmap).
To try to find the question, I created a project with a test class that extends Sprite with just this single call in the constructor: -.
addChild (New Stats());
I have deployed to the device to check that he didn't swallow all of memory.
But I was surprised to observe the use of the memory to crawl upward and upward (to 5) before kicking in some garbage and takes memory down. I left it running and then he slipped once again more than 7.5 this time before being deported back down to just below 3.
So 2 questions that I would be grateful any feedback/comments/thoughts on related: -.
1 is this normal (i.e. memory creeping up when there is nothing else than to the Stats in the project)?
2 - What is the best way to monitor the memory usage in an application? Good enough stats - is Stats itself causing the memory usage?
All the best guys!
See also thread (http://forums.adobe.com/message/4280020#4280020)
My conclusions are:-
-If you run an application and let idle, use memory slips gradually upward (probably in memory is used to perform the Calc/refresh the display, etc.)
-Periodic garbage collection occurs and memory is brought back down
-This cycle could be more than 5 min.
Work with your real application and memory will increase and be published much more quickly/regularly.
-It's probably worth making an initial check running on your desktop computer to smooth out all the initial problems
-
duplicate calls made using the alias between two codecs C40
We have 2 new codecs C40. When calling between the two using the alias, it seems that 2 calls are made. In a sense, we get a very quick disonnect message upon acceptance of the call. In the other direction, the call comes in, but on disconnect, we get a message saying missed call.
Seems that the search rules can be duplication of the call some how - probably him endpoint becomes a call SIP and H.323 call at the same time. Could you post the call details and history/details of research?
Sent by Cisco Support technique iPhone App
-
Ctrl-alt for double layer now duplicates groups not only the layer?
I almost always duplicate the objects or layers by using ctrl-alt drag (while using move tool) to duplicate the layer. Now, in the last Photoshop CC 2014 it duplicates the not only the layer group. Is this a setting? Thank you
Well, obviously, in the December Update they fixed it... It must have been a glitch in the previous update. So if you have this problem - update to December was last updated.
Thank you
-
Using the statement prepared in adf
Hi Experts,
I am confused with the use of a prepared statement in the adf.
My use case is,
I have to update a table from every page in my application under certain conditions.
My question is,
If I have to create the iterator VO mandatory in all pages and calling the createinsert and insert the data into the table or
use a common method in the Application module impl
who uses a prepared statement (which is not even creating the ViewObject) like
What is the best approach?PreparedStatement st = null; String sql = "INSERT INTO hr.departments (DEPARTMENT_ID, DEPARTMENT_NAME, MANAGER_ID, LOCATION_ID) VALUES (seq,?,?,?)"; st=getDBTransaction().createPreparedStatement(sql,0); st.setString(1, name); st.setString(2, mgr_id); st.setString(3, Loc_id); st.execute(); getDBTransaction().commit();
Studio Edition Version 11.1.1.2.0
RognardRanjinth,
It is not against the layered architecture, none.
Why not use an approach hybrid?
Create a method of AM service, as you did, but instead of writing your own prepared statement, just manipulate the VO in the method: create a line, set attributes, insert the line.
-
IF / or using the statement
Hi all had problem to find a solution with a statement label. don't really know how to make this work. so I turn to you guys in the hope that one of you Guru´s know the solution. using funds Bi Publisher plugin for word.
well heres the problem:
<? If: (TAG1) or (TAG2)? >
<? specific tag? > (if there are tag1 or tag2)
<? end if? >
need a statement that checks to see if tag1 OR tag2 exist so a specific tag will appear.
but I don't know how to write it.
I first thought to do both if statement like this
<? If: (TAG1)? >
<? specific tag? > (if tag1 exists)
<? end if? >
<? If: (TAG2)? >
<? specific tag? > (if tag2 exists)
<? end if? >
But the problem with this is that if BOTH tag1 and 2 exists then I will have 2 of my specific tags. and that won't look great.
So, it is possible to write an if STATEMENT or a statement?
Best regards Magnus
You statement
This will check if one is present.
-
Consolidation of multiple columns by using the statement box
Hello
I have 4 columns
Column_A, Column_B, Column_C, Column_D
I created Column_E IE
ALTER Table My_Table
ADD)
Column_E varchar2 (100)
)
Data in columns A - D are either 'Y', ' no or (null)
What is necessary is the following: if it is a 'Y' in ONE of the columns A to D then place 'Y' in Column_E place in the case "n" in Column_E. This must be done for all the lines of my_table
Thank you!!!
Banner:
Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production."
AMT for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionSQL> with test_data as 2 ( 3 select 'N' a, 'N' b, 'N' c, 'N' d from dual union all 4 select 'N' a, null b, 'Y' c, 'N' d from dual union all 5 select null a, 'N' b, 'N' c, null d from dual union all 6 select 'N' a, 'Y' b, 'N' c, 'N' d from dual union all 7 select null a, null b, 'N' c, 'Y' d from dual 8 ) 9 select t.*, 10 case when instr(a||b||c||d,'Y') > 0 then 'Y' else 'N' end 11 from test_data t; A B C D C - - - - - N N N N N N Y N Y N N N N Y N N Y N Y Y
Please note that it helps if you provide test data as shown in this example.
-
How to use time with the State in MODE Lab machine
Hello
I tried to use the state machine with function elapsed time so sequentially, start and stop my code. The arrangement is to start the code for 1 minute then stop for 5 minutes. I have attached the code, the problem is when I place the function elapsed time, exit the while loop it does not, on the other hand when I place it inside the loop it does not work, but it does not give the right signal to move to the next State.
Could you please take a look at my code and help me solve this problem.
Concerning
Rajab
Rajab84 wrote:
APOK thanks for your help
even with the support on start it continues to turn on the case of waiting
could you please explain the code for me, the use of the Boolean crossing, increment and equality of functions
Best regards
Rajab
Ok.. I have modded the example to stop after 2 cycles. Also recommend that you take the free online tutorials of LabVIEW.
- run the vi. case statement goes to 'initialize', shift registers are initialized to their constants. GoTo 'wait '.
- "start" = false, stay in the current state. If true, switch to the "1 min" case
- "Reset timer set off with True of the shift register (counter starts at zero). time elapsed "= false, stay in the current state (1 min). If true, goto "5 min" case
- "Reset timer set off with True of the shift from the previous case register (counter starts at zero). time elapsed "= false, stay in the current state (5 min). If true, goto "1 min" case. Also, bool crossing is the search for "true-false" function compares '5 min' to add the number of cycle.
- Once the number of cycles reaches 2, stop all loop...
-
How to get a handle to the window to screen using just group id and the id of the window?
Hello
We are trying to develop a video application, and we use ForeignWindowControl to display the video on the screen.
We have those ForeignWindowControl declared and defined in a QML file that appears as needed.
Using the CameraAPI, we are able to get local video displayed correctly on the local video ForiegnWindowControl. For this we have just the window group id and the id of the window api camera and it automatically configures the window newly created by the camera to the position API and the size defined in the QML file.
However, this is isn't the case with the video remotely. Since there is no method/function similar to the createViewFinder of the camera api, we need to create a new window of ourselves that goes under the Group shared by the ForeignWindowControl remotely, using screen_create_window_type and set all the required parameters.
To view the video, hard-code manually the position and size of the newly created window so that it corresponds to the position and the size of ForeignWindowControl remote in QML file and is displayed correctly.
My question is how to find the ForeignWindowControl using just the group id and the id of the window? the way in which the cameraAPi done in-house?
Any help would be appreciated.
Thank you.
There are 3 ways to associate a window with a ForeignWindowControl.
1 tell the ForeignWindowControl to expect a window with a given windowId. Then after that libscreen allows you to create your window with the same windowId, use screen_join_window_group() to adhere to the same group that uses the FWC. The FWC should automatically capture this event and associate the window itself. This is how the camera it.
2. call the bindToWindow() of the ForeignWindowControl method to associate the FWC a particular windowId/groupId. Similar to the #1, but doesn't seem more useful if you create the FWC after the window of the screen has been created.
3. call the setWindowHandle() of the ForeignWindowControl method. Similar to the #2, but instead of using windowId/groupId, you spend just the actual handle.
See the FWC docs:
https://developer.BlackBerry.com/Cascades/reference/bb__cascades__foreignwindowcontrol.html
If you have created the window, you can use one of the 3 approaches. If the window has been created in a different process (eg. mm-engine rendering, or photo-service device), then generally #1 is the approach you would use.
See you soon,.
Sean
Maybe you are looking for
-
How can I stop my police in failed mail at the time new Roman apple sent emails
How can I stop my police in failed mail at the time new Roman apple sent emails
-
How to get the phone to ring several times before the voicemail picks up
Is there a setting to let the phone ring several times before the voicemail picks up
-
I'm new here and what you should ask an important question. It may have been partially met, but I do not think that the question has been answered so this is: I H8 1234 HP desktop PC and love it, most of the time. I play world tank on this subject
-
WAG325N, DHCP, and the DSL dynamic IP address
Hello. I have problems with the implementation of my router, a Linksys WAG325N. My internet connection is DSL. According to my ISP, I have no username or password for my account because my connection uses a DYNAMIC IP ADDRESS. The operator of my ISP
-
10 Gbps sfp + question of Dell X 1052
Hey,. I am interested in buying a dell x 1052 switch but I have a few questions about its features. 1. can I I aggregate the sfp ports + this switch? Basically, I want to lacp 2 sfp ports + 10 Gbit/s and then connect the ports on my server that has a