How to Migrate Postgres DB Schema to Oracle 11 g???
hi,
how to Migrate Postgres DB Schema to Oracle 11 g??? Any idea or tool that you want to refer for migration of postgres Schema to Oracle 11g .
Regards,
Pl see possible solutions here - http://www.oracle.com/technetwork/database/migration/index-084442.html
Pl also see previous discussions on this topic
https://forums.oracle.com/forums/search.jspa?threadID=&q=postgres+AND+oracle&objID=c18&dateRange=all&userID=&numResults=15&rankBy=10001
HTH
Srini
Similar Messages
-
How to migrate Postgres database to Oracle?
Hi Experts,
Please guide me to migrate Postgres database to Oracle. Postgres database version is 9.2 and it is in Linux server.
can I use Oracle SQL Developer migration tool for migrating from Postgres to Oracle?
Please give valuable suggestions.
Regrads,
Suresh.As per earlier threads, Oracle SQL developer doesn't support Postgres to Oracle migration hence you need to go for some other tool/approach as listed in my second reply.
such cross RDBMS migrations are done in 2 phases.
Phase 1- Code migration
Phase 2- data migration
In phase 1, you work on DDL conversion for all objects like- tables, views, triggers, procedures, packages, Mviews, in-built function conversion etc. This becomes complex when there is lot of code present since in many cases, you have to re-write the code to make it work in target RDBMS.
in phase 2, it is about migration of table data from source to target. It can be done by simply dumping the table data in CSV format and then using SQL loader kind of tool to load it.
You can also use replication tools like- Oracle Golden Gate and other tools available in market.
Ispirer - Migrate PostgreSQL to Oracle
http://www.swissql.com/products/datamigration/data-migration.html
Thanks,
Abhi -
How to migrate the MySQL data to Oracle 9i DB??
I want to migrate the Mysql database to Oracle 9i database. I make the Mysql datameta to the oracle db.
Can you help me ? how to do ??
PlsHi Lei,
You could also use the Oracle Migration Workbench which is available for FREE from OTN http://otn.oracle.com/tech/migration/workbench/content.html
Regards,
Blair. -
How to migrate a report .SQR to Oracle repots, I have the file .SQR
I have a problem, I need migrate a report .SQR to Oracle Reports, So, I don't know .SQR. one idea for this
Is that a Hyperion sqr file? I doubt there are migration tools, so you will need to rebuild the report in Oracle Reports.
-
How to migrate a report .SQR to Oracle repots
I have a problem, I need migrate a report .SQR to Oracle Reports, So, I don't know .SQR. one idea for this
Hello,
I don't know SQR, but Google said that it is either a Hyperion or Peoplesoft product.
This forum is dedicated for migrations from non-Oracle databases to Oracle, using the SQL Developer Migration Workbench. So you should better place your question in the Oracle Reports forum: Reports
Best regards
Wolfgang -
How to migrate from sql server to oracle
Hi ,
My requirement is we are planning to migrate the sql server data to oracle.
what is the way to do migration from sql server to oracle. Please let me know if any tools are there for migration.Previous we used sql developer( which is provided by oracle i.e. freeware )
tool but it was created only table structures not ported any data.Hi,
Oracle sql developer is a great tool for migration from sql server to oracle..
Refer the link,
http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html -
How to migrate workflow user to upgrade oracle database
hello all,
we are running oracle 8.1.7 on sun solaris machine
and workflow builder 2.5.0.16.4,now we want to upgrade the
database with 9i,can some body please guide me how can we
migrate the workflow user 'owf_mgr' data from 8.1.7 to 9i.
i mean i want to have all the runtime data avaialable to me on
9i as well.
thanks in advance.
Zeeshan AhmadThe first thing you need to be aware of is that Oracle Workflow
2.5 is not certified on 9i. You have 2 options:
1) Upgrade to Oracle Workflow 2.6 on 8.1.7 (Workflow 2.6 is a
separate CD in the 8.1.7 CD pack), and then upgrade the database
to 9i.
2) Upgrade the Database to 9i, and then upgrade to Oracle
Workflow 2.6.1 which is included on the 9i Database CD.
When you upgrade the database, all the data in the owf_mgr schema
should be upgraded as well. As always, you would perform a couple
of test database/workflow upgrades before upgrading on your
production box.
hello all,
we are running oracle 8.1.7 on sun solaris machine
and workflow builder 2.5.0.16.4,now we want to upgrade the
database with 9i,can some body please guide me how can we
migrate the workflow user 'owf_mgr' data from 8.1.7 to 9i.
i mean i want to have all the runtime data avaialable to me on
9i as well.
thanks in advance.
Zeeshan Ahmad -
How to migrate MS Access table to Oracle 8i
I need to migrate MS Access v 97 tables to Oracle 8i and save as Oracle tables.
Could you tell me in detail how to do it.
Thanks a lot
Zixing<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Shahbaz Rasheed ([email protected]):
Originally posted by Oracle Migration Workbench Team:[b]Use the Oracle Migration Workbench Access plug-in. This will automate the process for you. The plug-in is available for download from this site.<HR></BLOCKQUOTE>
Personal Oracle8 has Oracle MS Access Migration utility. You can migrate your data from Access to Oracle. If you still unable to migrate your data please email me at [email protected] I'll send you step-by-step for Migration document
Regards
Shahbaz
null -
How to migrate MySQL stored procedure to Oracle
Hi All,
I migrated mysql 5.1.42-enterprise-gpl-advanced DB to oracle using sqldeveloper 3.1.07 tool.
DB objects migrated successfully except Stored Procedures.
I verified .sql and Out files.. Capture process not captured stored procedures SQL.
Could you please suggest, where I can verify exact error or how to fix this issue.
Thanks in advance.Hi,
The SQL*Developer version you are using is an old one and you should use the latest version available from this link -
Oracle SQL Developer
However, even the v4 version does not support the migration of MySQL stored procedures as shown in this link -
http://www.oracle.com/technetwork/developer-tools/sql-developer/supportedmigplatforms-086703.html
You will have to manually convert the MySQL stored procedures to an Oracle format, as even the 'Scratch Editor' under 'Tools - Migration' - does not have an option for MySQL conversion.
The documentation has details of the difference between MySQL and Oracle stored procedures -
Oracle® SQL Developer Supplementary Information for MySQL Migrations
in the chapter Triggers and Stored Procedures
Regards,
Mike -
How to migrate from Dbase Database to Oracle 11gRelease2 database
Hi,
I have a Dbase database and i need to migrate to Oracle 11g Release2 database.
Please suggest as to how to proceed for the same.
Thanks,
GauravGauravJ wrote:
Hi,
I have a Dbase database and i need to migrate to Oracle 11g Release2 database.
Please suggest as to how to proceed for the same.
Thanks,
Gauravhttp://search.cpan.org/dist/CAM-DBF/lib/CAM/DBF.pm
PERL can access both DBs simultaneously.
so all you have to do is write some custom code to SELECT from DBASE DB & INSERT into Oracle DB -
How get scott user database schema in oracle 10g express edition
hi
plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
Iam created the user as scott but but i didn't get the table details
...plz give me the details correctly.You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
Rem Copyright (c) 1990 by Oracle Corporation
Rem NAME
REM UTLSAMPL.SQL
Rem FUNCTION
Rem NOTES
Rem MODIFIED
Rem gdudey 06/28/95 - Modified for desktop seed database
Rem glumpkin 10/21/92 - Renamed from SQLBLD.SQL
Rem blinden 07/27/92 - Added primary and foreign keys to EMP and DEPT
Rem rlim 04/29/91 - change char to varchar2
Rem mmoore 04/08/91 - use unlimited tablespace priv
Rem pritto 04/04/91 - change SYSDATE to 13-JUL-87
Rem Mendels 12/07/90 - bug 30123;add to_date calls so language independent
Rem
rem
rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
rem
SET TERMOUT OFF
SET ECHO OFF
rem CONGDON Invoked in RDBMS at build time. 29-DEC-1988
rem OATES: Created: 16-Feb-83
GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
ALTER USER SCOTT DEFAULT TABLESPACE USERS;
ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
CONNECT SCOTT/TIGER
DROP TABLE DEPT;
CREATE TABLE DEPT
(DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
DNAME VARCHAR2(14) ,
LOC VARCHAR2(13) ) ;
DROP TABLE EMP;
CREATE TABLE EMP
(EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
INSERT INTO DEPT VALUES
(10,'ACCOUNTING','NEW YORK');
INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
INSERT INTO DEPT VALUES
(30,'SALES','CHICAGO');
INSERT INTO DEPT VALUES
(40,'OPERATIONS','BOSTON');
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
INSERT INTO EMP VALUES
(7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP VALUES
(7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP VALUES
(7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP VALUES
(7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP VALUES
(7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP VALUES
(7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP VALUES
(7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
INSERT INTO EMP VALUES
(7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
INSERT INTO EMP VALUES
(7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
INSERT INTO EMP VALUES
(7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
INSERT INTO EMP VALUES
(7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP VALUES
(7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
INSERT INTO EMP VALUES
(7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
DROP TABLE BONUS;
CREATE TABLE BONUS
ENAME VARCHAR2(10) ,
JOB VARCHAR2(9) ,
SAL NUMBER,
COMM NUMBER
DROP TABLE SALGRADE;
CREATE TABLE SALGRADE
( GRADE NUMBER,
LOSAL NUMBER,
HISAL NUMBER );
INSERT INTO SALGRADE VALUES (1,700,1200);
INSERT INTO SALGRADE VALUES (2,1201,1400);
INSERT INTO SALGRADE VALUES (3,1401,2000);
INSERT INTO SALGRADE VALUES (4,2001,3000);
INSERT INTO SALGRADE VALUES (5,3001,9999);
COMMIT;
SET TERMOUT ON
SET ECHO ON -
How to migrate 'table' data type into oracle solution?
Say, I have following sample code in Sql Server:
Declare @v1 table(old_value int, new_value int)
insert into @v1 select old_value, new_value from aTable where....
declare cur cursor for
select new_value from @v1 where old_value=...
what should I use in oracle to convert above code? I was thinking about nested table, but it seems not very suitable here. Any better solutions out there?It's been a while since I've done any SQL Server development, but if I recall correctly, a table data type in Transact SQL is used for storing temporary result sets.
In your example, you seem to be temporaily storing the results of a query in a Transact SQL table, and then opening a cursor to iterate over the results.
In Oracle PL/SQL, there is usually no need to do this, just open a cursor:
create or replace procedure test_proc as
begin
for curs_rec in (select old_value, new_value from myTable) loop
... process each row ...
end loop;
end test_proc;
If you really want your results in an array which your code can iterate over, look into the BULK COLLECT clause of the SELECT statement:
create or replace procedure test_proc as
TYPE array_type IS TABLE of myTable%ROWTYPE INDEX BY BINARY_INTEGER;
my_array array_type;
begin
SELECT * BULK COLLECT INTO my_array FROM myTable;
for idx in my_array.FIRST..my_array.LAST loop
dbms_output.put_line(my_array(idx).col1);
end loop;
end test_proc;
Note that I have not actually compiled the above code, so there may be syntax errors :)
Also, prior to 9i you can not BULK COLLECT into a table based on a rowtype (you need to created an array for each attribute).
SQL Server also allows function which return table types. This is similar to PL/SQL pipelined table functions (available in 9i and higher - see the PL/SQL guide), which can be used to materialize rows which can be processed like any other result set.
SQL Server also has a concept of temporary tables which is totally different than Oracle's temporary tables. SQL Server developers must often resort to using temporary tables in their stored procedures; in Oracle, this is rarely necessary. -
How to Migrate from SQL server to oracle 11g
Hi,
i have many tables in sql server and i want to link them in oracleWelcome to the forum,
Hi,
To link Oracle with SQL Server follow this steps:
1-Install Oracle ODBC drivers on the server (your local Oracle database) that will access the remote SQL Server database using the database link.
2. Setup the ODBC connection on the local Oracle database using the Windows ODBC Data Source Administrator
3. Test the ODBC drivers to ensure that connectivity is made to the SQL Server database.
4. Ensure that your global_names parameter is set to False.
5. Configure the Oracle Heterogeneous services by creating an initodbc.ora file within the Oracle database.
7. Modify the Listener.ora file.
SID_NAME is the DSN for the remote database.
ORACLE_HOME is the actual Oracle home file path.
PROGRAM tells Oracle to use heterogeneous services.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=Cas30C) -- Enter the DSN on this line
(ORACLE_HOME = c:\oracle10gdb) -- Enter your Oracle home on this line
(PROGRAM = hsodbc) ) )
8. Modify the Tnsnames.ora file. This is the Oracle database installation accessed by the users to connect to the ODBC drivers
(DESCRIPTION=
(ADDRESS_LIST=
(Address=(PROTOCOL=TCP)
(HOST=
-- (Server x)
(PORT=1521))) -- Enter the port on which the server x Oracle installation
-- is listening
(CONNECT_DATA=(SID=Cas30c)) - Enter the DSN name
(HS=OK) -- Enter this value. It tells Oracle to use hetergeneous services
9. Reload the listener on local Oracle database
10. Create a database link on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.
11. Run a SQL Server Select statement from the Oracle installation using the database link
Thanks
BelMan :) -
How to migrate content from SharePoint to Oracle ECM
Hi ,
We are planning to move SharePoint site content to Oracle ECM environment. I would like to know whether we can move SharePoint content to Oracle ECM environment. If we moved all the meta tags will be same as like SharePoint?
Kindly help me on this.
Thanks in advanceHello,
The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
As it's off-topic here, I am moving the question to the
Where is the forum for... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
How to reorganize applsys schema in oracle apps
Dear Guru's,
Can any one suggest how to Re-Organize Applsys schema in oracle application .
The tablespace which is related to Applsys has nearly 15GB of free space. I need to resize it. Oracle has suggested to follow 303709.1. But it donsn't helped out.
I am planning to 1) take an export of applsys schema 2) Drop applsys schema 3) Recreate new same tablespace with new appropriate storages & 4) import back the applsys scheam.
Is it the appropriate method? I need the solution from some one who faced and resloved this issue. No theoritical solutions please.
NaveenIf you have the disk space you could create another tablespace and use the alter table move command to move the objects into it. See note 110246.1. I have used this method for other tablespaces (not applsys though). Depending on what version of the rdbms you are on there may be some limitations when it comes to lobs and nested datatypes/tables.
Maybe you are looking for
-
How do I select more than one photo for a contact sheet
I am trying to print more than one photo per contact sheet (to save photo paper!) Iphoto help says to select the photos you want on the contact sheet and also to select how many photos you want on the "options" button on the contact sheet style selec
-
Laserjet M1522nf doesn't function in Windows 8.1
This printer works on my network on all PCs except for one, which was recently upgraded to Windows 8.1. Can still print to it, but scanning functionality is lost. Tried uninstalling all HP software to give a clean install, but cannot get full unins
-
Hello, I don't know why but I cannot place an image in one specific table-header. It works fine in my table-cells but in the table-header only the text appears. I thought i could place an image in a header, just like a text-string but that is not pos
-
Hi everyone, I am using an Indesign CS5.5 and I'm creating interactive layouts for iPad and what I want to create is the transition fading effect that requires two pictures / objects. When using an iPad, after I tap the 1st picture it will go to the
-
Name of user instead of username
I want to change username in the header of the page to name of user, while using HTML DB authentification. may be someone have any ideas, how to replce variable &user to something like 'select first_name||' '||last_name as name from wwv_flow_users wh