How to get the reconciliation AD event data using the SQL query.
Hi allI was trying to get all the recon data to target AD Recon of IOM db, but it seems that at the OIM 11 g we have recon not given in the tables: UCR, CRE, etc.. Use tables "RECON_"... ', my question is all no bady has example query to extract data from recon tables?
The best
MP
It should be a matter of linking your reconciliation table of user AD (early RA_) with the RECON_EVENTS of RE_KEY table.
In my case, I have user OID reconciliation (so my RA_ table will be different to yours) and can use something like:
SELECT RECON_EVENTS. RE_STATUS, RECON_EVENTS RA_OIDUSER5.*, RA_OIDUSER5 WHERE RECON_EVENTS. RE_KEY = RA_OIDUSER5. RE_KEY;
Of course, then depends on what information you want to filter and recover.
Tags: Fusion Middleware
Similar Questions
-
How to get the SQL query running of af: search?
I use JDeveloper 11.1.2.3.0. I have a page where I've set up an af:query and an array of result. The problem is that I can't get the exact query that is used during the execution of this component in a managed bean method. Is it possible to get the query string that is run within the af: query?
Thank you
Hello
Method of the ViewObject getQuery() returns what you need;
You can replace the executeQueryForCollection(), and prior to calling super, you can print the result of getQuery() method:
public void executeQueryForCollection (rowset Object,
Object [] params,
{int noUserParams)
System.out.println ("SQL =" + getQuery());
call the super method here...
}
-
How to get the sql query result?
Hello
Currently I use LV2012 to connect to an Oracle database server. After the Oracle Express and Oracle ODBC driver facilities/settings made.
I managed to use the SQL command to query the data through my command prompt window.
Now the problem is, how to do the same task in Labview using database connectivity tools?
I have build a VI to query as being attached, but I have no idea of what range to use to get the result of the query.
Please help me ~ ~
Here is a piece of code that I use to test the SQL commands, you can use the part that retrieves the results of sql.
It is also possible to get the rear column headers, but it's for the next lesson!
;-)
-
Hello
I already set date value as below.
SET THE VALUE OF START_TIME = 2011-08-12 09:00
and executes the table based on the defined date as below,
DEFINE END_TIME = 2011-08-12 10:00
Select * from my_table
) but now I want to query the table based on the time,
where
(to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS))
GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS)
GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS)
GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS));
Any help please,.Hello
It is not very hard in SQL * more.
First of all, put your query in a script file, like this one, called hour_query.sql:
-- hour_query.sql Show data from my_table for a given time period PROMPT The data below shows the period from &1 to &2 PROMPT SELECT * FROM my_table WHERE accounting_start_time <= '&2' AND '&1' <= accounting_stop_time ;
Parameters & 1 and & 2 are beginning and end of time, for example "2011-08-12 09:00".
Note that this does not use TO_DATE. If you have incorrect strings in columns that must be DATEs, no errors occur.Assuming that hour_query.sql is located on p:\some_dir\, you want another script that runs hour_query.sql 24 times, like this one, which I will call all_hours.sql:
@p:\some_dir\hour_query "2011-08-12 09:00:00" "2011-08-12 10:00:00" @p:\some_dir\hour_query "2011-08-12 10:00:00" "2011-08-12 11:00:00" @p:\some_dir\hour_query "2011-08-12 11:00:00" "2011-08-12 12:00:00" ...
(I just did 3 hours to test. You can easily make that 24 hours).
The following code creates and then runs all_hours.sql:
-- Turn off SQL*Plus features that interfere with raw output SET FEEDBACK OFF SET PAGESIZE 0 SET VERIFY OFF -- Write all_hours.sql SPOOL p:\&some_dir\all_hours.sql WITH got_start_time AS ( SELECT TO_DATE ( '2011-08-12 09:00:00' , 'YYYY-MM-DD HH24:MI:SS' ) AS start_time FROM dual ) SELECT '@p:\some_dir\hour_query "' || TO_CHAR ( start_time + ((LEVEL - 1) / 24) , 'YYYY-MM-DD HH24:MI:SS' ) || '" "' || TO_CHAR ( start_time + ( LEVEL / 24) , 'YYYY-MM-DD HH24:MI:SS' ) || '"' FROM got_start_time CONNECT BY LEVEL <= 3 -- You can make this 24, or any other number ; SPOOL OFF -- Turn on SQL*Plus features turned off earlier SET FEEDBACK ON SET PAGESIZE 50 -- Except VERIFY. leave that OFF while all_hours runs --SET VERIFY OFF -- Run all_hours.sql @p:\some_dir\all_hours.sql SET VERIFY ON
-
How to get the SQL if I get exception
I get this exception and do not know what was the actual sql with the variables of liaison who was executed.
sqlmesg = error in the select query to retrieve the segment associated with a pair of cables: ORA-01006: there is no bind variable
y at - it a way to get the real sql executed so I know what mistake I did.I thought your question was about how to view the SQL statement and bind variables in the exception. The answer to that is to put variables in the exception message.
The root cause of the problem seems to be that your dynamic SQL statement may require 3 or4 variable bind but your USING clause specifies always 4 values if the underlying SQL statement has 3 positions, it will lead to an error.
Justin
-
How to get the inline query which is drawn from the TAB specific Application.
Hi all I use 10.2.0.4.0 oracle version.
I want to capture the sql that is raised in my prod database when an applicaton tab is hit as it takes about 5 minutes for the tab to be loaded. So is it possible, for the inline sql, which is the origin of the problem, directly from the prod environment.
(Note: I looked through the browser session in PROD DB for the query, but there, I found a lot of meetings and a lot of requests, I do not know how to distinguish the session being created by the specific tab I hit).>
Hello
I want to capture the sql that is triggered to my database of prod
When an applicaton tab is hit as it takes about 5 minutes so that the tab
to be loaded. So is it possible to get the inline sql, which is
the origin of the problem, directly from the prod environment.Please, please tell us that you have a Test environment? Log into that, then run a trace.
No doubt you can either descend all test for a few miinutes and/or
easily distinguish sessions on your Test System? That's exactly what the test
the environments are for.The SQL execution will be the same - you can go try to find
the root cause of the problem.HTH,
Paul...
-
How to find the sql query generated by BI Publisher
I'm looking for the physical sql query generated by BEEP when I send parameters as part of the data model.
Of course, this can be noted in newspapers...
Can anyone tell me the location of newspapers?
Thanks in advanceHave a look here http://gerardnico.com/wiki/dat/bip/log
I explain a bit how you can get the newspaper.See you soon
Nico -
four months back someone updated my table of billing through sql developer.
How can I find the details of the request or the original data.
now the problem is that we rebooted the server, if it's not rest with time stamp.
log mode is Archieve record only.
Please help meI don't know why you're getting this error, I tried and it works:
SQL> exec dbms_logmnr.add_logfile( logfilename=> 'C:\oracle\product\11.2.0\dbhome_1\RDBMS\ARC0000000736_0765299251.0001', options=> dbms_logmnr.new); PL/SQL procedure successfully completed. SQL> EXECUTE DBMS_LOGMNR.START_LOGMNR(OPTIONS => DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG); PL/SQL procedure successfully completed. SQL> exec dbms_logmnr.start_logmnr PL/SQL procedure successfully completed. SQL> select seg_owner,seg_name,sql_redo,sql_undo from v$logmnr_contents; ..... 35 rows selected. SQL> exec dbms_logmnr.end_logmnr PL/SQL procedure successfully completed.
@Boris - you don't have to have an additional connection to the database. The thing is that if you don't have additional logging, Oracle will give you only the ROWID of the records and if it is not the same database or something has changed (as "alter table... move"), ROWID is not relevant. If you enable additional logging, you will get more information on the line (like the other columns or PK) which will help you a lot to identify RELEVANT changes. As I said, it is not mandatory, but as you say, if you want extra logging, it must be turned on BEFORE the changes in the database.
Hope that's clear,
Liron -
How to find the sql query by using the hash value
Hello
DBVERSION: 9.2.0.8
I generated the statspack report and I want to see total request and I hash_value here.
in v$ sql can't see all querys... .pls suggest me other ways...
Thank you
Srini...Have you seen Peter's response? There is no installation other than that would be to store the history of the IMO. Another reason that you must pass to 10g or 11g better, now.
Aman...
-
How to get the query execution time without running...?
Hello
I had one condition... as follows...
I had 3 sql statements. I need to run only sql what runtime is very less.
Can someone help me, how to get the time query and run this query without using explain plan... ?
Thank you
RajeshI can't think in any way at all to get the query execution time without running the query.
You might get an estimate ( approximation ) If you are using explain plan.
But you have governed to explain plan for a reason, so I can't help you.
Why you do not want to use don't explain plan? -
How to get the create view sql statement
I have a technical problem
There is a view in the database, for example "topstudentsview" and sql statement is ' select * student where scores > 90;
My question is how to get the sql statement of the view. I want to get the sql statement in the topstudentsview
Is the equivalent in MS Sql
sp_helptext 'topstudentsview '.
How in Oracle?
Thank youuser10182401 wrote:
My question is how to get the sql statement of the view.Simple answer: use a tool. Almost every development tool will give you an option for this requirement.
In Oracle SQL Developer (free), it's as simple as:
Connect to the database with the user and click on "views".
Select the appropriate view, and then click the SQL tab. -
How to get the timestamp of data DAQmx Read
Hello
I have to read 4 analog channels using DAQmx AI read in LabVIEW 2012. I am using screws DAQmx.
Acquisition rate is 4000 samples per second, and the number of samples per channel is 200.
I use only one task DAQmx to read the data. I get 4 data tables for 4 channels each table length is 200, every time, DAQmx Read happens.
But I want to get the seal of these 200 samples per channel. How to get the seal of these samples, made me know.
Thank you
You have not indicated your code. If you choose to read the waveform data, the cluster includes t0 and dt. That's all the information you need.
-
How to get the Date, month, year of the DateTimePicker
Hi, I am using the DateTimePicker.
There are several question about this command:
1. how to get the Date, month and year?
-With the help of myDateTime.value, I get this string ' Wed May 08 14:45 ICT 2013 '-> I have to manually analyze this? Because I need in format yyyy/mm/dd. Or can set the format of dateTimePicker.value?
2 format on dateTimePicker self (on the user interface) is d/m/YY, I can't change to another format?
Thank you
dateTimePicker.value return a QDateTime not a string.
https://developer.BlackBerry.com/Cascades/reference/bb__cascades__datetimepicker.html#property-value
See more:
https://developer.BlackBerry.com/Cascades/reference/QDateTime.html#date
https://developer.BlackBerry.com/Cascades/reference/QDate.html
You can get
day = dateTimePicker.value.date().day() month = dateTimePicker.value.date().month() year= dateTimePicker.value.date().year() dateYYYYMMDD = dateTimePicker.value.date().toString(Qt::ISODate) dateYYYYMMDD2 = dateTimePicker.value.date().toString("YYYY/MM/DD") dateYYYYMMDD3 = dateTimePicker.value.toString("YYYY/MM/DD")
-
How to get the current location in the event thread?
Hello!
Can U pls tell me how to get the location where the thread object, it is in method() execution of MenuItem. PLS, tell me-
I also used the different thread for the getLocation() method. But I do not have the coords of geo location...
PLS, suggest me-
My code is as below:
private MenuItem getGeoCodes=new MenuItem("Current Coords",100,1){ public void run(){ double[] coords=getLocationCoords(); this.wait(12000); System.out.println("Latitude :"+coords[0]+" "+"Longitude:"+coords[1]); } }; private double[] getLocationCoords(){ Criteria criteria = new Criteria(); criteria.setHorizontalAccuracy(500); criteria.setVerticalAccuracy(500); LocationProvider locationProvider = LocationProvider.getInstance(criteria); Location location=null; new Thread(){ public void run(){ locationProvider.getLocation(60); } } QualifiedCoordinates qualifiedCoordinates=location.getQualifiedCoordinates(); double[] coords=new double[]{qualifiedCoordinates.getLatitude(),qualifiedCoordinates.getLongitude()} ; return coords; }
But I myself NullPointerException. Coordinates get successfully, if we run the location capability in different function, rather than the event thread.
Please help me-
In my opinion, which may be too complicate things a bit. I think he's trying to do is register a LocationListener with his object of LocationProvider. Callback methods, send a message to the UI event thread as follows (no need to spawn threads):
UiApplication.getUiApplication().invokeLater( new Runnable() { public void run() { // This code will execute on the event thread } });
EDIT: If your interval is short, you can consider implementing this executable as a class and store an instance in the front.
-
How to get the event when we change our simcard in BB device
Hi all
Please, someone tell how to get the event or any listener method that can automatically called when we change our SIM card device.
Thanks in advance,
TEJ
Hi Tej,
I came across some post, which may be useful for you
http://supportforums.BlackBerry.com/T5/Java-development/is-SIM-ID-really-exist/m-p/54407#M5954
Maybe you are looking for
-
What information do you want?
-
Problems with HP laptop (model dv4-1225dx), turns off
I have bolded the important bits. To be honest, I had problems with this computer since the beginning. A lot of it, however, is due to a problem of overheating resulting from a wrong place fan and cons set to automatically install updates. But a coo
-
Start Notepad M60-104 from USB - possible or not?
HelloI am using windows XP on my hard drive (IDE), I want to start my pc using a disc usb external hard. whenever I try to install the OS on drive respectively the first boot after copy of the files of the OS itself does not say boot_device_unmountaa
-
Upgrade SSD for Pavilion 15-n097 (F4T60EA #ABU)
I have a newly purchased 15-n097 Pavilion and an M500 Crucial 480 GB SSD, I would like to install. Can someone direct me to the proper maintenance and manual advice on any bios updates that may be required please? I understand that the HARD drive on
-
HP 15-r014TX... a few keys on keykeyboard does not...
HP 15-r014TX... only windows 8.1 language... a few keys on my laptop as the space bar, enter, up & down arrow and BACKSPACE became not functioning all of a sudden... error ID: PUX6JX-76678N-XD7V7G-G06E03 Thanks for giving an effective solution to the