Problem when migrate Sybase Database to Oracle with SQL Developer - oracle

I tried to use SQL Developer 19.2.1.247, connect Sybase 15.0 with jtds 1.3.1 successfully. However follow error occur and show in Migration Report when try to migrate the Sybase to Oracle:
<logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
<level>WARNING</level>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<message>Error:ORA-06550: line 1, column 14:
PLS-00201: identifier 'SYB12ALLPLATFORM.STAGECAPTURE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
: FAILED : Database Migration : FAILED</message>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo#62187f8f</param>
</record>
Any suggestion on the problem? Or any tools/method that can do the migration from Sybase to Oracle.
Thanks for your help!

The problem fixed after I grant all permission to the user
GRANT ALL PRIVILEGES TO migration_user;

Related

Why Oracle SP with parameter Not Working with SSRS Report

I am trying to build SSRS report which using Oracle SP as backend to get data from Oracle DB. SP have only one input parameter & out put parameter ref cursor. On my client machine this is working fine but once I deployed on SSRS server it giving me error.
But same SP without any parameter or with one input parameter working on SSRS server
ODAC Driver Installed on SSRS server.
Error Message:
System.Data.OracleClient.OracleException (0x80131938): ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'get_name'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Getting ORA-00904: "DECL_OBJ#": invalid identifier while loading data using informatica tool in oracle

Can someone please help to resolve the below error which is occuring while trying to insert records from Oracle Database A to Database B using Informatica tool:
ORA-00904: "DECL_OBJ#": invalid identifier
I had this error with SQL Developer.
Tools --> Preferences --> Database --> PL/SQL Compiler
PLScope Identifiers : None
Set to None

ORA-00904: "MDSYS"."SDO_UTIL"."TO_GML311GEOMETRY": invalid identifier error

I get ORA-00904 error while running simple Query:
SELECT TO_CHAR(MDSYS.SDO_UTIL.TO_GML311GEOMETRY(null)) AS Gml311Geometry FROM dual;
I tried to use other SDO_UTIL functions (GETVERTICES, SIMPLIFY, TO_WKTGEOMETRY) and they are working just fine. I searched for it in MDSYS packages and I found a proper function to_gml311geometry.
What could be a reason that oracle can't find this function? I use oracle 11g client.
As Rene suggested this function is not available in Oracle XE I checked and it does work on full version.

Not able to open PDB database- Oracle standard edition

I am using Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit on which I am facing a problem while opening PDB database.
Error:
SQL> select CON_ID,DBID,NAME,OPEN_MODE from v$pdbs;
CON_ID DBID NAME OPEN_MOD
---------- ------------- ------------------- -----------------
2 11247382 PDB$SEED READ ONLY
3 3988395454 PDB_ORCL12C MOUNTED
SQL> ALTER PLUGGABLE DATABASE ALL OPEN;
ALTER PLUGGABLE DATABASE ALL OPEN
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01405: fetched column value is NULL
SQL> ALTER PLUGGABLE DATABASE pdb_orcl12c OPEN READ WRITE FORCE;
ALTER PLUGGABLE DATABASE pdb_orcl12c OPEN READ WRITE FORCE
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01405: fetched column value is NULL
I am using below-mentioned steps for oracle database creation which is working fine on Oracle enterprise edition.
http://dbarahul.blogspot.in/2017/02/manual-cdb-pdb-database-creation-steps.html
Please help me to resolve this issue on Oracle standard edition.
According to the My Oracle Support, the error has occurred due to Bug 21061354.
Solution is to apply patch 21061354.
Reference: Alter Pluggable Database Open Returns ORA-01405 (Doc ID 2193378.1)

Oracle compile package: table has errors

I have a big problem on my database.
I have a Oracle 9i database and a Oracle 11g database.
I have a package with a stored procedure on my 9i database. Inside a have a very simple select like :
select * from my_table_on_my_11g_database#MYDBLINK;
When I'm trying to compile the package containing this query, I have the following error :
[Error] ORA-04063 (337: 20): PL/SQL: ORA-04063: table "my_table_on_my_11g_database" has errors
When I'm trying to execute the query using Toad in a editor, it works fine.
So, I don't know what is the problem.
It's about roles, rights ?
We just installed this 11G database, before we had a 9i database and it worked fine. I'm guessing I'm missing some grants ?
Thanks for any idea.
C.C.
Finally it works. I've created a new public DBLink and it works.
It was maybe because the DBLInk was created before with the old database, I don't know.
Thanks for the answers.

Resources