How to Find the OID (Oracle Object ID's) which are already in use.
Hi,
I am importing a dump from source to destination with imp command as the dump has been exported using exp command.
I ran the dump and it got hanged once.
So, I am rerunning it again, My import failed again and I am getting an error that OID is already is present.
I need to know how we can find the OID's which are already used, so that I can find those objects are flush them before the importing the dump.
Thanks,
Nagendra Reddy.
Have you thought about using an ldif to export your directory into another?
-Kevin
Similar Messages
-
How to find the difference in object definition between two databases
Hi,
Can any one suggest me how to find the difference in object definition between two different databases. Is there any tool or by OEM? If so how?
Regards
Naveenthis link may be helpful...
http://www.dbspecialists.com/scripts.html -
How to find the of Oracle software types and versions installed
Hi,
How to find the of Oracle software types and versions installed on RedHat Linux AS machine and Sunsolaris10 machine?
Regards,
MathewI'm not sure about your point.
You can use "opatch" command-line
cd $ORACLE_HOME/OPatch
./opatch lsinventory -detail
PRODUCT NAME VERSION
============ =======
Advanced Queueing (AQ) API Patch 10.1.0.4.0
Advanced Queueing (AQ) API 10.1.0.2.0
Advanced Replication Patch 10.1.0.4.0
Advanced Replication 10.1.0.2.0
Agent Required Support Files Patch 10.1.0.4.0
Agent Required Support Files 10.1.0.2.0
Assistant Common Files Patch 10.1.0.4.0
Assistant Common Files 10.1.0.2.0
Authentication and Encryption Patch 10.1.0.4.0 -
How to find the text id & object name to be used with read_text ?
Hi All
how to determine the text id & object name associated with PO to be used with FM read_text ?
Regards
JamanHi,
For PO there will be Header Texts and Item texts.
For header texts just Take the PO number as TDNAME.
for Item texts Conactenate the PO number and Item Number and use as TDNAME.
in ME23N Go to any text.Double click on it
It will take you to text editor.
GOTO-> header
it will display the TEXT ID,TEXTNAME,LANG and TEXT OBJECT etc
Similarly for every text you will find and use;
Regards,
Anji -
How to find the type of objects contained in a Stored Package?
Hello,
I need to populate all the procedures and functions contained in a package. I have rewritten a query like this
"SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
Above Query returns a record, having NULL PROCEDURE_NAME value. Why?
I also want the 'type' of object (stored procedure/function ) contained in the a package.
How to fetch it?
Following query always returns object type 'PACKAGE', which is of no use for me. I want to know if it is stored procedure or function.
SELECT PROCEDURE_NAME, *OBJECT_TYPE* FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
Cheers,
MachhindraHi,
Just thinkin Out of Box way... :-
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
F:\Documents and Settings\Administrator>sqlplus scott/tiger@service1
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 26 21:49:03 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE OR REPLACE PACKAGE emp_mgmt AS
2 FUNCTION hire (last_name VARCHAR2, job_id VARCHAR2,
3 manager_id NUMBER, salary NUMBER,
4 commission_pct NUMBER, department_id NUMBER)
5 RETURN NUMBER;
6 FUNCTION create_dept(department_id NUMBER, location_id NUMBER)
7 RETURN NUMBER;
8 PROCEDURE remove_emp(employee_id NUMBER);
9 PROCEDURE remove_dept(department_id NUMBER);
10 PROCEDURE increase_sal(employee_id NUMBER, salary_incr NUMBER);
11 PROCEDURE increase_comm(employee_id NUMBER, comm_incr NUMBER);
12 no_comm EXCEPTION;
13 no_sal EXCEPTION;
14 END emp_mgmt;
15 /
Package created.
SQL>
SQL> SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'EMP_MGMT';
PROCEDURE_NAME
CREATE_DEPT
HIRE
INCREASE_COMM
INCREASE_SAL
REMOVE_DEPT
REMOVE_EMP
6 rows selected.
Now you requirement
SQL> SELECT PROCEDURE_NAME,A.OBJECT_NAME,OBJECT_TYPE FROM ALL_PROCEDURES A, USER_OBJECTS UO WHERE UO.OBJECT_NAME = A.O
BJECT_NAME AND A.OBJECT_NAME='EMP_MGMT';
PROCEDURE_NAME OBJECT_NAME
OBJECT_TYPE
REMOVE_EMP EMP_MGMT
PACKAGE
REMOVE_DEPT EMP_MGMT
PACKAGE
INCREASE_SAL EMP_MGMT
PACKAGE
PROCEDURE_NAME OBJECT_NAME
OBJECT_TYPE
INCREASE_COMM EMP_MGMT
PACKAGE
HIRE EMP_MGMT
PACKAGE
CREATE_DEPT EMP_MGMT
PACKAGEIn oder to know the type of Object why don't you simple decribe in order know the Object definition it self.. instead of firing queries...Don't you thinl it easy of use.. !! you will get better Explanation about your Package
SQL> desc EMP_MGMT;
FUNCTION CREATE_DEPT RETURNS NUMBER
Argument Name Type In/Out Default?
DEPARTMENT_ID NUMBER IN
LOCATION_ID NUMBER IN
FUNCTION HIRE RETURNS NUMBER
Argument Name Type In/Out Default?
LAST_NAME VARCHAR2 IN
JOB_ID VARCHAR2 IN
MANAGER_ID NUMBER IN
SALARY NUMBER IN
COMMISSION_PCT NUMBER IN
DEPARTMENT_ID NUMBER IN
PROCEDURE INCREASE_COMM
Argument Name Type In/Out Default?
EMPLOYEE_ID NUMBER IN
COMM_INCR NUMBER IN
PROCEDURE INCREASE_SAL
Argument Name Type In/Out Default?
EMPLOYEE_ID NUMBER IN
SALARY_INCR NUMBER IN
PROCEDURE REMOVE_DEPT
Argument Name Type In/Out Default?
DEPARTMENT_ID NUMBER IN
PROCEDURE REMOVE_EMP
Argument Name Type In/Out Default?
EMPLOYEE_ID NUMBER IN
SQL>- Pavan Kumar N -
How to find the installed oracle components( oci , occi) versions?
Hi,
could you please help me to find out the version of installed oracle components?
ex: which version of OCCI installed?
one way is using OUI gui tool.
I also got this info from oracle inventory file.
under $ORACLE_HOME/inventory/ContentsXML/comps.xml
But is there any best way or command to look for the same.
Thanks,
KrishThe "best way" almost certainly depends on why you're looking for the information and what tool(s) you're using.
If you're asking a human being to get the information, the OUI is generally going to be "better". If you're writing a program to get the information, parsing the inventory XML is likely to be "better".
If you have multiple Oracle Homes on a single machine (particularly Oracle Homes with different major Oracle releases), though, or you have various failed/ incomplete/ obsolete installations on various machines, or if you're trying to figure out which version of the libraries would actually get used when a particular application starts up (assuming there are multiple applications on the machine), things start to get rather trickier.
Justin -
How to find the forgotten oracle user password?
Hi,
I forgot my oracle user password. Is there any possibility to find the password without resetting through system user.Going by Oracle books, its not possible, but there are ways of knowing the users password, which in other words is known as Bruteforcing.
-
I am doing slow motion in audio and video using AVFoundation(for Video) and Dirac(Audio). As part of it, i will show the video as frames in which the user will select the frames to do slow motion. Eg: 5-6 min of 10 min video.
I have to show the users two kinds of videos 1. through the video recorder from my application itself. 2. from the gallery.
Case1: No problem Now,i can record the videos though my video recorder and show the videos as frames to the user to select. Once the user selects some frames(Eg: 5 to 6 min of 10 min recorded video), using the below code, i am able to find the start/end duration of the selected frames or video.
NSNumber *start = [info objectForKey:@"_UIImagePickerControllerVideoEditingStart"]; NSNumber *end = [info objectForKey:@"_UIImagePickerControllerVideoEditingEnd"]; int startMilliseconds = ([start doubleValue] * 1000);int endMilliseconds = ([end doubleValue] * 1000);
Case2: In this case, i am able to pick the video from the gallery and show them to the user in the form of frames to select. However, when i try to find the start/end duration of the video as i did in case 1 with the same code, its not working. I am always getting "0" for start/end duration.
Can you please give some suggestion on my Issue ?+1 .. also. i'd to know is using "_UIImagePickerControllerVideoEditingStart"
the app won't be rejected..
thanks,
F -
Hi,
I want to find the color space of an raster item. I can able to get its color space using
app.activeDocument.rasterItems[0].imageColorSpace
if i found it o be CMYK color space, i need to find its value to know which color is present in the document.
Thanks in advance,
PooviliPeople have asked that before & I don't actually know. It seems pretty likely it's in the SDK somewhere though. I'd try searching the API folder for phrases that might relate to this and then investigate.
-
How to find the date when object is moved from quality to production server
Hi Experts,
I am working with BADI ZMM_PUR_REQ_PROC_001-Method Check and BADI ZME_PROCESS_PO_CUST-Method Check.
I need to add a check that a particular logic should be implemented only after this object is moved to the production server.
How can i check the date when an object (in my case this BADI) is moved to the production server?
<Removed by moderator>
Thanks in advance.
Edited by: Vinod Kumar on Aug 1, 2011 10:55 AMHi Sakshi,
So your reqt is that the documents created after your Transport implementation date should pass the check and others (old ones) should ignore.
I will recommend, if at all possible, to make all the old documents compatible to your check by doing a separate initial loading /one time activity to avoid this kind of hardcoding.
IF not at all possible to do so, then I think you should better hardcode your Transport req number and fetch date (AS4DATE) from E070 table and only if any entry exists, use that date as your required date. I believe this will be the date of transport imported in the target system.
You can avoid hardcoding Transport number by picking latest transport with respect to your object (BADI) using E071 table, but that will go wrong once you send any future changes in this BADI to Prod, so better to hardcode the transport.
BR,
Diwakar -
A friend has installed Lightroom 5 on my MacBook air. he transferred all my picture that were on my IPhone an on Iphoto on Lightroom but without making virtual copies systematically. He put the original (real?) pictures on a external hard disk under Data_photos folder to allow more memory space on my Mac book Air. My problem now that when I connect the external hard disk with my computer the connexion does not happen automatically. it is like if Lightromm does not recognize the path to get connected to the original/real picture and therefore I cannot see pictures with all their potential and I cannot work on these. I am stuck! What should I do to 1) create this link? 2) create then virtual copies in order to be able to work on my computer without been obliged to connect my external hard disk to be able to use the application Lightroom. The friend who helped me disappeared! He is not in Japan and unable to help me.I hope you can help me. I have been looking for support to apple stores, photo shops, computer specialists but I have not found the expert capable to help me. I am leaving in Geneva. And believe that I should have some one with me physically to resolve a problem which I believe is not a serious one if one knows lghtroom an dinformatic basics... thank in advance to come back to me asap !!!!
Follow these instructions: Adobe Lightroom - Find moved or missing files and folders
-
How to get the list of all process order which are settled?
Hello Friends,
Is there any standard report available to get the list of all settled Process Order or Production order?
Thanking all of you in advance.
Regards,
JitendraHi,
You can the below standardreports for knowing the list of Settled Process Orders :
1. Use Tcode : COOIS and in the selection fields provide the Process Order Type, Plant and System Status As " SETT" and execute the same . System will list all the Process Orders which were settled so far.
2. Use Tcode : CO26 with selection fields as above.
Hope this will suffice your reqt.
Regards
radhak mk -
How to find the original lengh of a VARCHAR2 field
Hi all...
How to find the original lengh of a VARCHAR2 field. If i use, length function, it is
giving the length of the feild, not the orginal length of field value.
How to find the actual length of the field.
Thanks in advance
pal> How to find the original lengh of a VARCHAR2 field.
Why?
And where? A varchar2 in SQL or a varchar2 in PL/SQL? Varchar2 arguments have no explicit size in parameter signature for a procedure or a function. -
How to find the number of ODBC connections to Oracle Database
Hi All,
How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
Thanks in advance,
MahiWhat Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
For example: if you already know of a user using ODBC, you can verify as:
select username, osuser, terminal, program from v$session where username = 'SCOTT'
USERNAME OSUSER TERMINAL PROGRAM
SCOTT IUSR_SRV231 SRV231 w3wp.exe
SCOTT IUSR_SRV231 SRV231 w3wp.exe
2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
USERNAME OSUSER TERMINAL PROGRAM
SCOTT IUSR_SRV231 SRV231 w3wp.exe
SCOTT IUSR_SRV231 SRV231 w3wp.exe
2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
Hope this helps... -
How to find the number of references to an object in a big application
How to find the number of references created for a given object in a big application environment.
That means, if i give any object name (of my application) as input, then how can i find the[b] number of references created for that particular object ??Please don't post the same question multiple times.
I've answered your question in the other thread here:
http://forum.java.sun.com/thread.jspa?messageID=4312939
Maybe you are looking for
-
[SOLVED] Laptop freezes at startup after kernel upgrade to 3.13.6
Some days ago I got a new Dell Sputnik 3 Laptop and installed Arch Linux with UEFI Boot and gummiboot as bootloader. The installation was successful. However two days ago there was an upgrade for the Linux Kernel from 3.13.5 to 3.13.6. When I restart
-
Java Doesn't exactly add floating-point numbers
I have a program in which I need to add 0.1 repeatedly to -1. In order to do this, even though I only need exactness to one decimal place, I have to use a float or double. Because floats and doubles are FP, they don't exactly add 0.1, so the values l
-
I'm thinking of getting an iPhone 5, but have heard people hate because of the wilt he's and the slowness. Would the 4s be better, or are the glitches on the 5 rare. Just want to know from someone who has thoroughly used the products.
-
1: I can't update Firefox automatically 2. Adobe shockwave errors show up frequently. What is the latest version of Firefox that runs on Windows ME and can I download it? Will the shockwave issue go away?
-
Try as I may I have not been able to "Chat" with anyone from Adobe for a problem I'm having. My PSE13 is still within it's 30 day warranty which is supposed to offer full support. I go through the sequence that is supposed to get me to the "Chat" po