Coverting to ORACLE
Hi,
The below code is in sql server
Can some one plzzzzz....help me do the same in ORACLE
BEGIN
IF @str_UG_Flag = 'I'
BEGIN
IF NOT EXISTS (SELECT 'X' FROM EMA_SCM_GEN_UOM_Group WHERE EMA_SCM_GEN_UG_Code = @int_UG_CODE)
BEGIN
INSERT INTO EMA_SCM_GEN_UOM_Group
(EMA_SCM_GEN_UG_Code, EMA_SCM_GEN_UG_Desc, EMA_SCM_GEN_UG_Inserted_By, EMA_SCM_GEN_UG_Updated_By)
VALUES
(@int_UG_CODE, @str_UG_Desc, @int_UID, @int_UID)
END
ELSE
BEGIN
UPDATE EMA_SCM_GEN_UOM_Group SET
EMA_SCM_GEN_UG_Desc = @str_UG_Desc,
EMA_SCM_GEN_UG_Updated_By = @int_UID,
EMA_SCM_GEN_UG_Updated_On = GETDATE()
WHERE EMA_SCM_GEN_UG_Code = @int_UG_CODE
END
END
ELSE IF @str_UG_Flag = 'D'
BEGIN
IF EXISTS (SELECT 'X' FROM EMA_SCM_GEN_UOM_Group WHERE EMA_SCM_GEN_UG_Code = @int_UG_CODE)
BEGIN
UPDATE EMA_SCM_GEN_UOM_Group SET
EMA_SCM_GEN_UG_ISActive = @str_UG_ISActive,
EMA_SCM_GEN_UG_Updated_By = @int_UID,
EMA_SCM_GEN_UG_Updated_On = GETDATE()
WHERE EMA_SCM_GEN_UG_Code = @int_UG_CODE
END
ELSE
BEGIN
SET @str_Error = 'UOM Group Does not exist for Changing the status'
RETURN -1
END
END
RETURN 1
END
when you check the existence of data in the table emptst you check for the entire table. are you not suppose to check only for the particular deptno based on the input parameter.
If that is what you are trying to achieve you can use MERGE statement. See example below.
SQL> create table emptst as select empno, ename, job, deptno from emp where deptno = 40
2 /
Table created.
SQL> select * from emptst
2 /
EMPNO ENAME JOB DEPTNO
7934 MILLER CLERK 40
14 rows selected.
SQL> CREATE OR REPLACE PROCEDURE ins_upd(
2 int_eid IN NUMBER,
3 str_ename IN VARCHAR2,
4 str_job IN VARCHAR2 DEFAULT NULL,
5 int_dept IN NUMBER)
6 AS
7 BEGIN
8 MERGE INTO emptst e
9 USING (SELECT int_eid empno,
10 str_ename ename,
11 str_job job,
12 int_dept deptno
13 FROM dual) t
14 ON (e.deptno = t.deptno)
15 WHEN MATCHED THEN
16 update set e.empno = t.empno, e.ename = t.ename, e.job = t.job
17 WHEN NOT MATCHED THEN
18 insert (e.empno,e.ename,e.job,e.deptno)
19 values (t.empno,t.ename,t.job,t.deptno);
20 END;
21 /
Procedure created.
SQL> EXEC INS_UPD(10,'KARTHICK','SSE',40)
PL/SQL procedure successfully completed.
SQL> SELECT * FROM EMPTST
2 /
EMPNO ENAME JOB DEPTNO
10 KARTHICK SSE 40
14 rows selected.
SQL> EXEC INS_UPD(10,'KARTHICK','SSE',50)
PL/SQL procedure successfully completed.
SQL> /
EMPNO ENAME JOB DEPTNO
10 KARTHICK SSE 40
10 KARTHICK SSE 50
15 rows selected.Thanks,
Karthick.
Edited by: Karthick_Arp on Sep 26, 2008 12:08 AM
Similar Messages
-
Migration from SqlServer from Oracle
hi all,
i have use a migration iter of Oracle sql developer, but i have a problem.
when i start the conversion of acquired model sql server to oracle, some name of column or table are modify.
example in sql server i have a column name MV__EPOS, but in coverted model oracle is renamed MV_EPOS with one underscore.
Can you help me??
Thanks.Hi,
I confirm if you use double underscores in table or column name, it is replaced by one underscore.
For the moment, except to rename manually column or object, there is no other solution.
Your issue has been transferred to development for modification
Thanks
Regards,
Mireille -
Stored procedures (SQL 7 to Oracle 8i)
Using latest OMWB, all our stored procedures are coverted to Oracle as procedures. Some should convert as functions because we retuen an integer value in SQL 7. The migration options are set to automatic generation of procedure or function.
What is it that triggers OMWB to decide to generate a procedure or a function? I have a boatload of procedures to convert, and do not want to have to manually set the conversion option for each table or manually edit the procedures or functions. I can generate stored procedures programmatically on the SQL server side if I know what to change to make OMWB generate a function.A bug has been logged bug1700579. By default the workbench should produce a function if there is a return <VALUE> and a procedure if there is no return <VALUE> .
The default option does not seem to work and procedures are always created in the default mode.
Turloch
Oracle Migration Workbench Team -
How to convert foxpro database to oracle9i database
hi,
i'm searching for solutions regarding to convert Foxpro database to oracle9i database.if it is possible pls give information regrading this topic.
hoping for help.
regrads
ramesh.Hi Kashif
There is a tool which comes with Oracle 8.0.5 name "Microsft Access Tool Coverter to Oracle Database",
What u have to do simple 3 steps,
1-Just convert ur Foxpro dbfs to mdbs (Access Database) through "Microsft Access Tool Coverter to Oracle Database".
2-Then convert these mdbs (Access Database) to
Oracle datbase 8.0.5 through "Microsft Access Tool Coverter to Oracle Database".
3-Then Export ur users which is created automatically through the above tools during wizard and then import this user to Oracle 8i.
If u need further assistance then add me on MSN
[email protected] -
COVERT DB2 DATE TO ORACLE DATE
I AM MIGRATING DB2/AS400 DATA TO ORACLE.
IN THIS I HAVE DB2 DATE WHICH IS IN CYYMMDD FORMAT AND I HAVE TO CONVERT DD/MM/YYYY FROM TO ORACLE.
WHICH IS THE BETTER WAY TO PROCESS THIS TYPE OF DATA.
COULD YOU PLEASE HELP MEHI,
The simplest way is:
Take a look at the default date format at your Oracle (you can change it if necessary) and then use some DB2 Data do Character function to format it like Oracle default format.
Oracle will do an implicit conversion.
Does it help you? -
Hi,
I have one form designed in Oracle Forms 9i, I want to convert it to a .JSP. I believe I can do it using JHeadstart, this is all that I know. Could you please tell me, where can I download it from and once I have it, what steps do I need to follow for the conversion ?
Thanks!
ShaluShalu,
At this moment JHeadstart does not generate the JSP but uses UIX as the view implementation. JSP generation is high
on our list of enhancements but UIX does the Job. If you have a form that is not generated out of Designer you should reverse
engineer (design capture) your tables and form in Designer and then run the JHeadstart Designer Generator.
For more information see the viewlet and the developersguide on the JHeadstart page here at OTN.
http://otn.oracle.com/consulting/9iServices/JHeadstart2.html
Regards,
JHeadstart Team -
Coverting Acces mdb files to Oracle
I'm trying to convert Acces mdb fiels into Oracle Personal 8 using the Migration Assistant but it always gives the message'Unrecognized Format' and these mdb files are first converted from DBase III plus using Access. Could you please guide me in this respect.
Thanks
[email protected]Double-check that the Migration Assistant claims to work with the particular version of Access you're using. I assume, for instance, that Access 97 & 2000 mdb files are different.
Justin -
I need to covert the following MS SQL query to Oracle.
The query is as follows..
SELECT B.AL_DESCRIPTION,Count(C.TC_STATUS)
FROM ALL_LISTS A, ALL_LISTS B, TESTCYCL C
Where B.AL_FATHER_ID = A.AL_ITEM_ID
And C.TC_STATUS = B.AL_DESCRIPTION
And A.AL_DESCRIPTION = 'Status'
And (C.TC_EXEC_DATE = @ExecutionDate@
Or C.TC_STATUS = 'No Run')
Group By B.AL_DESCRIPTION
Union
SELECT B.AL_DESCRIPTION,0
FROM ALL_LISTS A, ALL_LISTS B
Where B.AL_FATHER_ID = A.AL_ITEM_ID
And A.AL_DESCRIPTION = 'Status'
And Not Exists (Select 1 From TESTCYCL C Where C.TC_STATUS = B.AL_DESCRIPTION)
Order By 1Is
What does this below mean in MySql
And (C.TC_EXEC_DATE = @ExecutionDate@Is ExecutionDate a variable name?
Then replace it by..
And (C.TC_EXEC_DATE = TO_DATE(ExecutionDate,'DD-MON-YYYY')If ExecutionDate is not a date datatype
I guess you are trying to compare the value of TC_EXEC_DATE with some variable value.
If you are using bind variable then you can substitute as
And (C.TC_EXEC_DATE = TO_DATE(&ExecutionDate,'DD-MON-YYYY')check this,
Here I am taking value at run time.
SQL> select empno,ename,hiredate
2 from emp
3 where hiredate > &dt;
Enter value for dt: '22-MAY-1981'
old 3: where hiredate > &dt
new 3: where hiredate > '22-MAY-1981'
EMPNO ENAME HIREDATE
7654 MARTIN 28-SEP-81
7782 CLARK 09-JUN-81
7788 SCOTT 19-APR-87
7839 KING 17-NOV-81
7844 TURNER 08-SEP-81
7876 ADAMS 23-MAY-87
7900 JAMES 03-DEC-81
7902 FORD 03-DEC-81
7934 MILLER 23-JAN-82
9 rows selected.
Using a variable
SQL> declare
2 eno number;
3 name varchar2(50);
4 edate date;
5 dt date :='23-JAN-1982';
6 begin
7 select empno,ename,hiredate into eno,name,edate
8 from emp where hiredate = dt;
9 dbms_output.put_line(Eno||' '||name||' '||edate);
10 end;
11 /
7934 MILLER 23-JAN-82
PL/SQL procedure successfully completed.Twinkle -
Ms access and ms excel to oracle
Hi,
The client has some excel files and ms access.i don't have proper idea about that.
1,how to convert from these to oracle using oracle migration workbench
or
covert the migration by plsql procedures?
2,which method is best method
extract the data from msaccess or ms excel and put into flat file then load into oracle.
or
extract the data from msaccess or ms excel and put into staging table then load into oracle.
Edited by: user3266490 on Mar 12, 2010 11:17 AM2,which method is best method
extract the data from msaccess or ms excel and put into flat file then load into oracle.
or
extract the data from msaccess or ms excel and put into staging table then load into oracle.NO
Both Excel & MSAccess can directly interface to Oracle via ODBC -
How to covert before and after image details from logdump to SQL
Hi,
Through logdump,i am able to retrieve below before and after image details for an update statement.
Instead of below ascii format output, i need to know the complete sql statement before update and after update.
Is there any command to covert below output to readable SQL sentence?
2012/09/26 02:30:16.999.659 FieldComp Len 300 RBA 2528
Name: TEST.TESTTABLE
Before Image: Partition 4 GU m
5e50 86f5 af70 9660 b6fa 785c e34f 8881 0497 9507 | ^P...p.`..x\.O......
799f 2ee2 6399 d539 ea92 90de 828b 83d9 adc9 c8c4 | y...c..9............
ca87 9632 7136 a5fc 826f 8cc7 6ddd 7f8a e02e 816a | ...2q6...o..m......j
6ac4 739a 8011 5068 068a 4553 4937 93e7 cc5a d3d3 | j.s...Ph..ESI7...Z..
6a2b 2540 3be9 1df7 6d0c 0f17 d795 efd4 e0c5 dae9 | j+%@;...m...........
a488 a757 7c07 78a4 5f2a 1330 d2bb 5a05 7075 6b95 | ...W|.x._*.0..Z.puk.
529c f681 97d8 df6f 58d5 37dc e36d 8bc0 19d5 c7f0 | R......oX.7..m......
Bad compressed block, found length of 34549 (x86f5), RBA 2528
Logdump 2335 >n
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 300 (x012c) IO Time : 2012/09/26 02:30:16.999.659
IOType : 15 (x0f) OrigNode : 255 (xff)
TransInd : . (x01) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 24567 AuditPos : 4268948
Continued : N (x00) RecCount : 1 (x01)
2012/09/26 02:30:16.999.659 FieldComp Len 300 RBA 2947
Name: TEST.TESTTABLE
After Image: Partition 4 GU m
5e50 86f5 af70 9660 b6fa 785c e34f 8881 0497 9507 | ^P...p.`..x\.O......
799f 2ee2 6399 d539 ea92 90de 828b 83d9 adc9 c8c4 | y...c..9............
ca87 9632 7136 a5fc 826f 8cc7 6ddd 7f8a e02e 816a | ...2q6...o..m......j
6ac4 739a 8011 5068 068a 4553 4937 93e7 cc5a d3d3 | j.s...Ph..ESI7...Z..
6a2b 2540 3be9 1df7 6d0c 0f17 d795 efd4 e0c5 dae9 | j+%@;...m...........
a488 a757 7c07 78a4 5f2a 1330 d2bd 5a05 7075 6b95 | ...W|.x._*.0..Z.puk.
529c f681 97d8 df6f 58d5 37dc e36d e8b8 19d5 1af0 | R......oX.7..m......
Bad compressed block, found length of 34549 (x86f5), RBA 2947From the reference guide:
*FORMATSQL*
Valid for Extract
Use the FORMATSQLparameter to output data in external SQL format, instead of the default
Oracle GoldenGate canonical format. FORMATSQLgenerates SQLstatements (INSERT, UPDATE,
DELETE) that can be applied to both SQLand Enscribe tables by utilities other than Oracle
GoldenGate Replicat.
NOTE Do not use FORMATSQL if the data will be processed by the Replicat process.
Replicat expects the default canonical format. Do not use FORMATSQLif
FORMATASCIIor FORMATXMLis being used.
A FORMATSQL statement affects all extract files or trails defined after it.
Default output
Without options, FORMATSQLtransactions are output as follows, in comma-delimited format:
● The begin-transaction indicator, B.
● The timestamp at which the transaction was committed.
● The sequence number of the transaction log in which the commit was found.
● The relative byte address (RBA) of the commit record within the transaction log.
● The SQL statements.
● The commit indicator, C.
● A newline indicator.
Every record in a transaction is contained between the begin and commit indicators. Each
combination of commit timestamp and RBA isunique. You can customize the output
format with optional arguments.
Default See “Default output”
Syntax FORMATSQL [<option>] [, ...] -
Use of oracle.jdbc.driver now deprecated.
Hi all,
Just thought of sharing this note with us.,(if its new ..)
http://otn.oracle.com/docs/products/oracle9i/doc_library/901_doc/java.901/a90211/overvw.htm#1008871
Extract ...,
Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the package oracle.jdbc. This package contains classes and interfaces that specify the
Oracle extensions in a manner similar to the way the classes and interfaces in java.sql specify the public JDBC API.
Your code should use the package oracle.jdbc instead of the package oracle.jdbc.driver used in earlier versions of Oracle. Use of the package
oracle.jdbc.driver is now deprecated, but will continue to be supported for backwards compatibility.
All that is required to covert your code is to replace "oracle.jdbc.driver" with "oracle.jdbc" in the source and recompile. This cannot be done piece-wise.
You must convert all classes and interfaces that are referenced by an application. Conversion is not required, but is highly recommended. Future releases of Oracle
may have features that are incompatible with use of the package oracle.jdbc.driver.
The purpose of this change is to enable the Oracle JDBC drivers to have multiple implementations. In all releases up to and including Oracle9i, all of the Oracle
JDBC drivers have used the same top level implementation classes, the classes in the package oracle.jdbc.driver. By converting your code to use
oracle.jdbc, you will be able to take advantage of future enhancements that use different implementation classes. There are no such enhancements in Oracle9i, but
there are plans for such enhancements in the future.
Regards
Elango.The two main things that would have to change
- driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:microsoft:sqlserver://localhost:1433
It may be that this page will help you
http://msdn.microsoft.com/data/learning/jdbc/
You also need to make sure that the files Msbase.jar , Msutil.jar and Mssqlserver.jar are all available in the "classpath"
For a web app, that means these files should be in the WEB-INF/lib directory.
Good luck,
evnafets -
Hi all,
I'm new with Oracle community so I hope you guys can help me and give me some suggestion with my case.
I got an error when upgrade Oracle client 9.2.0.5.0 to 9.2.0.5.3
I tried many times but can’t do upgrade successfully
This the error message I got when doing the job:
[ http://picasaweb.google.com/hoagao84/Oracle#5443442931867670386]
Appreciate your help.
Log files:
Command arguments are: apply
OPatch version is: 1.0.0.0.48
Using ORACLE_HOME/oui to look up oui libs...
Oracle Home = d:\oracle\ora92
Location of Oracle Inventory = D:\oracle\ora92\inventory
Oracle Universal Installer shared library = D:\oracle\ora92\oui\lib\win32\oraInstaller.dll
Path to Java = "D:\oracle\ora92\jdk\jre\bin\java.exe"
Location of Oracle Inventory Pointer = N/A
Location of Oracle Universal Installer components = D:\oracle\ora92\oui
Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
Checking if this is a RAC system...
Accessing inventory... This may take up to 300 seconds.
(retry 10 times, delay 30 seconds each time)
System Command: ""D:\oracle\ora92\jdk\jre\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -classpath "D:\oracle\ora92\oui\jlib\OraInstaller.jar;D:\oracle\ora92\oui\jlib\srvm.jar;D:\oracle\ora92\opatch\jlib\opatch.jar;D:\oracle\ora92\oui\jlib\xmlparserv2.jar;D:\oracle\ora92\oui\jlib\share.jar;.:D:\oracle\ora92\jlib\srvm.jar" opatch/O2O "d:\oracle\ora92" "D:\oracle\ora92\oui" opatch.pl 1.0.0.0.48"
Result:
output to OPatch:
IS_CLUSTER=0
CHECK_CLUSTER=1
NODE_LIST=NULL
NODE_COUNT=0
LOCAL_NODE=NULL
IS_CFS=0
RAC_CODE=0
HOME_INDEX=1
This is not a RAC system
Interim Patch ID: 3738339
Checking the patch inventory.
Component Name: oracle.rdbms
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.rdbms_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.oracore_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.xdk_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.dbjava_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.java.javavm.javatools
Component Version: 9.2.0.5.0
Component Name: oracle.cartridges.context
Component Version: 9.2.0.5.0
Component Name: oracle.cartridges.locator
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.net_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.ldap_rsf
Component Version: 9.2.0.5.0
Component Name: oracle.emprod.oemagent.base_oemagent
Component Version: 9.2.0.5.0
Component Name: oracle.isearch.is_common
Component Version: 9.2.0.5.0
Component Name: oracle.options.olap.cwmlite
Component Version: 9.2.0.5.0
Component Name: oracle.rsf.nlsrtl_rsf
Component Version: 9.2.0.5.0
Bugs fixed by this patch 3738339:
3741539 : LOGICAL STANDBY FAILS ORA-1422 MERGING PARTITIONS WITH LOB COLUMN
2800494 : KCBZIB XHINT FORCES SINGLE BLOCK READS INADVERTENTLY FOR SINGLE INSTANCE
3239873 : EXTREMELY HIGH PARSING TIMES WITH AND BETWEEN IN ORACLE 9.2.0
2918138 : ORA-600 (KOHDTF048) WHEN USING PIPELINED PL/SQL TABLE FUNCTIONS
3575743 : 2004-S144E
3554319 : APPSST; ORA-00600 [KQLUDP2] RUN DURING APPS UPGRADE
3666502 : ORA-00600 [1236] RANDOMLY OCCURING
3752406 : MERGE LABEL REQUEST ON TOP OF 9.2.0.5 FOR BUGS LISTED BELOW
3528282 : 2004S075E
3412818 : REPEATED MESSAGES IN LGWR TRACE
2690205 : 2003-S190E
3543125 : 2004-S089E
3571233 : 2004-S141E
3458446 : 2004S059E
2810394 : LNXN2PD RETURNS SCALE OF 42 WHEN COVERTING ORACLE NUMBER 0. TO PACKED
3323435 : 2003-S126E
3356103 : ORA-600 [OPIBND0; OACCSID] IN PARALLEL QUERY SERVER P001 EXECUTING OLAP QUERY
3668224 : CBO CALCULATE LOWER CMPTD CDN AND LEADS TO BAD EXECUTION PLAN.
3492040 : ORA-600 [KGHFRF1] SELECTING FROM V$LOGMNR_CONTENTS
3150750 : SM; (DBMS_STATS/AUTO_SAMPLE_SIZE) ESTIMATED NDV IS WRONG WITH HIGH SKEWS
3566469 : 2004-S138E
3320622 : 2003-S191E
3749394 : SCORE() FOR FUZZY TEXT OPERATOR DIFFERENT FOR FUNCTIONAL VERSUS INDEX ACCESS
3609791 : PSR 9.2.0.5.0 BREAKS CALL DB2 STORED PROCEDURE WITH DECIMAL PARM. SQLCODE -310
3698501 : CGS/IMR GENERATES SAME SEQ/INCARNATION NUMBER AFTER RECONFIG
3668572 : ORA-979 WHEN CURSOR_SHARING=FORCE OR SIMILAR
3179637 : UNABLE TO CREATE AN ORACLECONTEXT ON AD UNDER A CHILD DOMAIN
3571226 : 2004-S140E
3240280 : JOBS SUDDENLY STOP ALTHOUGH NEXT_DATE <= SYSDATE
2964252 : LPX-00252 WHEN PARSING VALID XML / DTD FILE
3617519 : TRANSFORMATION FAILING WITH ORA-932 INCONSISTENT DATATYPE
3172282 : ORACLE CORE DUMPS WHEN TRY TO LIST ALL ACES FOR A SPECIFIC ACL
3637624 : WRONG RESULTS WITH DISTINCT COUNT AND UNNESTED EXISTS SUBQUERY
3542588 : SAME EVENT 38041 USED FOR BUG FIXES 3444115 AND 3131551
3358490 : ORA-00600 [KQSCCCK;1],[],[],[],[],[],[],[]
3177513 : WRONG PLAN - JOIN NOT AVOIDED USING BITMAP JOIN INDEX IF UNIQUE INDEX TOO
3509265 : SHUTDOWN DID NOT COMPLETE WITH WAITING FOR INSTANCES TO LEAVE; 2
3516951 : BAD EXECUTION PLAN WITH MERGE JOIN CARTESIAN IN TEMP TABLE
2954891 : ORA-600 KJMXMPM;DIFFUS], [990307644], [990307644], [3304659678]
3388633 : LOGICAL STANDBY APPLY STOPPED WITH ORA-00600; [17090]
3371796 : EXPLAIN PLAN HANGS ON KKORMINL
3622875 : ORA-1499 AND ANALYZE TABLE VALIDATE STRUCTURE CASCADE ONLINE
3412136 : BAD EXECUTION WITH MERGE JOIN CARTESIAN IN ORACLE 9.2.0.4 AND MERGEFIX 3363655
3540576 : 2004-S083E
3575747 : 2004-S145E
3566813 : CTAS WITH UNION ALL AND ORDER BY RESULTS IN ORA-3113
3811906 : MERGE LABEL REQUEST ON TOP OF 9.2.0.5
2824035 : FXD; ORA-22921 CAUSING 4 DIFS IN LRGXG2.
3354470 : 2003-S195E
3518909 : UGA MEMORY NOT RELEASED AFTER USING XMLPARSER
3617042 : BAD PLAN FOR SCH-XMLTYPE BASED WITH COLLECTIONS MAPPED TO OCT
3583686 : MEMORY ALLOCATION ERROR DURING SPATIAL QUERY
3597640 : MERGE LABEL REQUEST ON TOP OF 9.2.0.5.0
3559212 : WRONG RESULTS RETURNED WITH 9.2.0.4 AND CBO
3625370 : CGS/IMR RECONFIGURATION GOT HUNG DURING A NEW MEMBER JOINING
3475932 : CROSS INSTANCE ARCHIVE LOG NOT GENERATED REMOTELY
3635177 : PSRC; ORA-7445 [KXCCUIN] POSSIBLE FROM DML
3430832 : ORA-600 [25012] AFTER CREATE OF INDEX ONLINE PARALLEL ON PART TABLE
2338704 : FXD; 1; QUERIES ON COLLECTIONS STORED IN OUT-OF-LINE TABLES ARE NOT VIEW MERGED
3253770 : 9I-GSI-CRITICAL PROGRAMS TIME OUT WAITING FOR LIBRARY CACHE PIN
Reading patch XML files and doing sanity checks.
Read the command to action file map.
Performing initial safety check.
Checking active processes:
Accessing inventory... This may take up to 300 seconds.
(retry 10 times, delay 30 seconds each time)
System Command: ""D:\oracle\ora92\jdk\jre\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -classpath "D:\oracle\ora92\oui\jlib\OraInstaller.jar;D:\oracle\ora92\oui\jlib\srvm.jar;D:\oracle\ora92\opatch\jlib\opatch.jar;D:\oracle\ora92\oui\jlib\xmlparserv2.jar;D:\oracle\ora92\oui\jlib\share.jar;." opatch/CheckConflict "D:\oracle\ora92\oui" "d:\oracle\ora92" opatch.pl 1.0.0.0.48 3738339 "3253770 2338704 3430832 3635177 3475932 3625370 3559212 3597640 3583686 3617042 3518909 3354470 2824035 3811906 3566813 3575747 3540576 3412136 3622875 3371796 3388633 2954891 3516951 3509265 3177513 3358490 3542588 3637624 3172282 3617519 2964252 3240280 3571226 3179637 3668572 3698501 3609791 3749394 3320622 3566469 3150750 3492040 3668224 3356103 3323435 2810394 3458446 3571233 3543125 2690205 3412818 3528282 3752406 3666502 3554319 3575743 2918138 3239873 2800494 3741539 " C:\TEMP\patch92053\3738339\etc\config\actions"
Result:
d:\oracle\ora92\opatch\opatch.pl version: 1.0.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
Error in executing Java program to check conflict
ERROR: OPatch failed during pre-reqs check.This is all the message when I run command in CMD prompt.
C:\temp\patch92053\3738339\perl d:\oracle\ora92\opatch\opatch.pl apply
Opatch Version 1.0.0.0.48
Perl Version 5.008007
Oracle Home = d:\oracle\ora92
Location of Oracle Inventory = D:\oracle\ora92\inventory
Oracle Universal Installer shared library = D:\Oracle\ora92\oui\lib\win32\oraInstaller.dll
Path to Java = "D:\oracle\ora92\jdk\jre\bin\java.exe"
Location of oracle Inventory Pointer = N/A
Location of Oracle Universal Installer components = D:\Oracle\ora92\oui
Require Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
The filename, directory name, or volume label syntax is incorrect.
D:\oracle\ora92\opatch\opatch.pl version 1.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved
Error in executing Java program to check conflict
Error: Opatch failed during pre-reqs check. -
Can not reset password in Oracle 10g Express
I have searched google for 4 hours, now I am certain:
"May be I am the only one in the world who have this problem."
I installed Oracle 10g Express on my Debian5.
I need to reset password for SYS/SYSTEM users
So I checked online tutorial says I need to use a utility called "orapwd" to recreate a password file.
Everything is smooth since now.
When I finally find this "orapwd" utility. I type "orapwd" as a root user. Terminal replies "orapwd command not found".
I then discovered the orapwd is some kind of x-execute file. After an extensive search on google I concluded that this kind of file is inexecutable.
Many tutorials I read online specify that the "orapwd" is actually "orapwd.exe", but on my Debian system it is "orapwd" with no extension.
Any suggestion is welcome.
ps: is there anyway I can reset password without going through "orapwd" s*t.
Best regards to all who have read to the end of this postEric wrote:
And Billy, what makes you think Windows Administrators do not know administration on command line?Experience dealing with Windows SAs over a decade and a half.
I got my first part time job as a Windows Administrator in the beginning era of Windows 95 in a small netcafe. The boss does not pay me but like me use workstations there for free.
In the early days, I administrate both Dos and Win3.1. I do my work on command line primarily and wrote a hell lot of *.bat files. In those days it were quite different. Because administration and configuration came from a command line DOS environment. We for example never configured networking for a Windows 3.1 or WFW 3.11 client via a GUI. It was done by directly editing system.ini and protocol.ini and making the correct changes.
And this made the guys and me almost fail our Windows CE certification because the silly multiple question exam asked which buttons to click in the GUI to configure networking and not how it works at actual system configuration level. In other words, it tested your knowledge of the GUI functions and not the actual system config and admin itself.
And then Windows NT was released and command line admin became the exception and not the rule. The All-Config-Eggs-in-a-Single-basket called the Windows Registry exemplified this flawed approach.
But since Window95 I find myself spending less and less time on command line, more and more on GUI and my work efficiency increase tremedously. I can record the mouse clicks, the key presses, then covert then into a script. I can change every setting of the system in just few clicks. In the world of Linux, this is still a dream, isn't it?You are missing the point. There are a large number of admin GUI tools available for Linux. But these seldom serve as crutches to configure the system, because of a i-am-clueless-factor.
If two systems, both are equally capable. To acheive the same thing, system A takes 2 working hours, system B takes 8 working hours. Doesn't this makes system B inferior compare to A?Because of the lack of knowledge and skill of a person to do the required on system B in 10 minutes now takes 8 hours instead? Ignorance of an operating system does not qualify as making system B inferior to system A.
In past decade, Linux became very popular in the server market is not becasue there are an increasing number of Linux system administrators who are good at command line administration but because Linux is becoming more user friendly. And as a result. This increased administrator's work efficiency and the same time reduce training cost which invites more people to learn Linux.Incorrect. There is a reason that 483 of the 500 of the fastest and most powerful computer systems on this planet runs Linux. And only 5 runs Windows.
And this has nothing to do with imagined user friendliness. It has everything to do with technical superiority and total cost of ownership.
So the more idiot proof the system is, the better the system will become.No. The less idiots there are, the better the quality of system administration, the better security, the more robust the systems are. -
Issues with format of Excel file created from an Oracle Report
I'm running Oracle Reports 6i. My reports run fine but when I covert them to Excel files I lose my column headings (they end of being repeated for each row in their own columns) and the ordering of my other columns. I can't figure out what is determining the column order as it is not the order of the items in Report Builder or in the query. Could someone tell me why this might be happening and how to fix the issue? Any help would be greatly appreciated as I'm a very new user. Thanks!
Hi,
First of all let me clear out generating a report pdf is different from excel.
The Repeating Frame and boxes,lines etc., used in your reports plays a vital role in excel.
Because, the fields in the reports are segmented into XL cells and displayed as the output.
For Better results in excel...Follow the below instructions,
--Remove Boxes,lines,etc.,
--Make your repeating frame and main frame visible (don't put 'NO_LINE') for any frames,
--Don't leave any unnecessary spaces in reports between fields,frames etc.,
--Then run your report.
It will work fine,
Regards,
Soofi -
dear export,
I have mysql database witb BLOB objects with 2m records. need to migrate to oracle 11gR1. pl let me know how to do this.
sample my sql table:
CREATE TABLE `pms_pr_supporting_doc` (
`ID` int(10) unsigned NOT NULL auto_increment,
`NAME` varchar(100) NOT NULL default '',
`TYPE` varchar(100) NOT NULL default '',
`SIZE` int(11) unsigned NOT NULL,
`CONTENT` mediumblob NOT NULL,
`SEQUENCE_NO` int(11) unsigned NOT NULL,
`DOC_LEVEL` tinyint(4) unsigned NOT NULL,
PRIMARY KEY (`ID`),
KEY `ID_QRY_ALL` (`ID`,`SEQUENCE_NO`,`DOC_LEVEL`),
KEY `ID` (`ID`),
KEY `SEQUENCE_NO` (`SEQUENCE_NO`),
KEY `DOC_LEVEL` (`DOC_LEVEL`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
we have 50 old tables in my mysql DB. Pl support me.
Regards
ashwan
Edited by: ashwan on Sep 16, 2010 4:38 AMI found the solution.
Ones created captured model and coverted model, ontop of converted model there is a option call "generate" . this will generate script. you should manual run in oracle side. once created. using butten in top tools=>migration=> migration data. then give source and desctination DB... very success of mysql t oracle using sqldeveloper.
Thanks
Maybe you are looking for
-
IDoc type could not be determined for the IDoc
I am trying to Post the payment run through the transaction F110. In the payment run log i get the following message: "IDoc type could not be determined for the IDoc" But in fact the IDoc is generated and it is displayed in We05. I have configured th
-
My display/screen/everything is only black and white.
I have lost all colour. I cannot find where to fix this. I have gone through all the system preference settings and cannot find the relevant subject. Can someone help please.
-
Hi, I have created a script (see below) which alert unused character and paragraph style in active document. My Script myUnusedParagraphStyleName(); myUnusedCharacterStyleName(); function myUnusedParagraphStyleName() var myDoc = app.activeDocument; v
-
Pressed "Never for This Website" by Accident: How to get my log/pass back?
Now password for my GMail account won't autofill. I've tried going through Keychain Access to set it straight, but no joy. iMac, OS X 10.4.11 Any Ideas? TIA
-
Why is ArchLinux consuming so much RAM?
I really don't know where to start with this thread. Hoping a few of you veterans will be able to help pinpoint my memory consumption by ArchLinux. I have read lots of places where ArchLinux runs with a very small memory footprint, but that hasn't