Transfer tables from sql server 2008 to oracle 11g
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,
user10188639 wrote:
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,
>which will be the best possible way
which metric measures best? is higher or lower value better?
How will you, I or anyone recognize which option is best solution?
Similar Messages
-
Migration from SQL Server 2008 to Oracle 11g
Hi there,
I have a quick question, Anyone who have experienced to migration procedures,function from SQL Server 2008 to 11g R2. Is it possible? I migrated tables and views through Oracle heterogenious servinces but I am not sure about the fucntions and procedures.
Any help would be appreciated.
Warm regards,Automated conversions are possible. After these conversions the system will pretty much run. However, and it can be a pretty big HOWEVER, performance could well take a hit - which the uninitiated or SQL Server acolytes will seek to blame on Oracle not being very good. This is not actually the case.
You could be in for a major review and rewrite. Besides the syntax differences in the procedural languages, there is a huge - like really huge - difference in transaction control, isolation, and read consistency. Basically, keep in mind that Oracle reads do not block writes, writes do not block reads, and there are no dirty reads. Writes only block other writes. Thus, no coding 'tricks' are needed to get around these blockers. Oracle has global temporary tables that are generally used to help out those converting from SQL Server. In actuality, then are mostly not needed as you can almost always do your work in one SQL statement.
Read the concepts guide from cover to cover, then do it again, then start looking at what you need to do to convert your procedural code. -
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM -
Hi,
I have few scripts which needs to be migrated from microsoft SQL server 2008 to Oracle 11G.
Can some one let me know can this be done by Oracle SQL developer or any other way ?
I am new to SQL server 2008 & havent worked on that.
Thanks in advance.Hello,
in SQL Developer, click on Help - Table of Contents.
Then: SQL Developer: Migrating Third-Party Databases, then SQL Developer User Interface for Migration, then Using the Translation Scratch Editor. Read the description of the Translation Scratch Editor and try it out.
Regards
Wolfgang -
Siebel database migration from Sql Server 2005 to Oracle 11g RAC.
Hi,
We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
The current configurations are:
Application : Siebel
database : SQL Server 2005
The hardware can be changed if needed. Can you please suggest the best approach ?
Thanks,
Naveen.
Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PMHi Naveen,
We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
Check this Step-by-Step
Migrating a Microsoft SQL Server Database to Oracle Database 11g
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
Regards,
Levi Pereira -
Migrating a table from SQL server 2005 to oracle 9i
Hi
I need to migrate a table from SQL server to oracle, both of which are on different machines, I tried using SQL server DTS export functionality selected the Oracle driver, created a DSN, but it gave error message box as shown below
Error Source: Microsoft OLE DB Provider for ODBC Drivers
"ORA 12560 :TNS protocol adapter error"
Context:Error During initialization of the provider
While i was successfully able to migrate the table from SQL SERVER to MS-ACCESS and from MS ACCESS to Oracle
thanks
abhishekHi
thanks warren, i just figured out that the DSN i had created while migrating data from Access to oracle was User DSN, i just created a system DSN of the similar kind and was successfully able to export the data from SQL server to oracle, the only problem being the column names in SQL server are longer than the limit of 30 characters we have in ORACLE..
Regards
Abhishek -
How to transfer database tables from sql server 2000 to oracle 10g
Hi,
I have a database and tables in sql server 2000. I have to transfer those data to Oracle 10g. I have installed Oracle warehouse Builder ETL Tool. Using this how can i transfer data. Any help is vary helpful for me.
Thanks in advance.you have to do it using ODBC HS.
1. Configure ODBC connection through gateway.
2. Create a initxxx.ora file with HS config.
restart gateway listener services
3. on target o/s add entries to your tnsnames.ora
4. On your target o/s create a db link
restart listener on target
cheeck this out.Non-Oracle connection through HS issue
Edited by: Darthvader-647181 on Jan 29, 2009 2:02 AM -
How to only migrate data from SQL Server 2008 to Oracle 11?
According to our requirement, We need to only migrate data from a SQL Server database to an existed
Oracle database user.
1) I tried to do it with SQL Developer 3.0.04 Migration Wizard, But find an issue.
My SQL Server database name is SCDS41P2, and my Oracle database user name is CDS41P2;
When I used SQL Developer to do offline move data by Migration Wizard, I found all oracle user
name in movedata files which gotten by run Migration Wizard
is dbo_SCDS41P2. If the Oracle user name is not the same as my existed Oracle user name,
the data can't be moved to my existed Oracle user when I run oracle_ctl.bat in command line window.
So I had to modify the Oracle user name in all movedata files, but it's difficult to modify them because there are many tables in
databases. So could you please tell me how to get the movedata files which the oracle user name in them is my
expected Oracle user name?
2) I also tried to use the 'copy to Oracle' function to copy the SQL Server database tables data
to the existed Oracle database user. When clicked 'copy to Oracle', I selected 'Include Data' and 'Replace' option
But I found some tables can't be copied, the error info is as below:
Table SPSSCMOR_CONTROLTABLE Failed. Message: ORA-00955: name is already used by an existing object
Could you please tell me how to deal with this kind of error?
Thanks!
Edited by: 870587 on Jul 6, 2011 2:57 AMHi,
Thanks for you replying. But the 'copy to oracle' function still can't be work well. I will give some info about the table. I also search 'SPSSCMOR_CONTROLTABLE' in the target schema, and only find one object. So why say 'name is already used by an existing object'? Could you please give me some advice? Thanks!
What is the 'Build' version of your SQL*Developer ?
[Answer]:
3.0.04
- what does describe show for the SPSSCMOR_CONTROLTABLE in SQL*Server ?
[Answer]:
USE [SCDS41P2]
GO
/****** Object: Table [dbo].[SPSSCMOR_CONTROLTABLE] Script Date: 07/18/2011 01:25:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SPSSCMOR_CONTROLTABLE](
[tablename] [nvarchar](128) NOT NULL,
PRIMARY KEY CLUSTERED
[tablename] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
- what does describe show for the SPSSCMOR_CONTROLTABLE in Oracle ?
[Answer]:
-- File created - Monday-July-18-2011
-- DDL for Table SPSSCMOR_CONTROLTABLE
CREATE TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE"
( "TABLENAME" NVARCHAR2(128)
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
-- DDL for Index SYS_C009547
CREATE UNIQUE INDEX "CDS41P2"."SYS_C009547" ON "CDS41P2"."SPSSCMOR_CONTROLTABLE" ("TABLENAME")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
-- Constraints for Table SPSSCMOR_CONTROLTABLE
ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" MODIFY ("TABLENAME" NOT NULL ENABLE);
ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" ADD PRIMARY KEY ("TABLENAME")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE;
Edited by: 870587 on Jul 18, 2011 1:42 AM -
Create oracle table from sql server
Dear Gurus,
I need to create some tables from sql server 2008 to a oracle 11g database. Some tables contain vbinary datatype. Now my queries are
1. How can I do that?
2. If DB link is a solution then would you please provide me a step by step process to do so?
3. Is there any issue with datatype?
SQL Server db is on windows 2008 R2
Oracle is in RHEL 5.5
Will appreciate ur help.well suppose i generate flat files from sql server and load in oracle by sqlloader then will there be any issue with vbinary datatype? what should be the equivalent data type in oracle table?
-
MIGRATE ODI FROM SQL SERVER 2005 TO ORACLE
Hello,
Presently we have our master and work repositories in sql server 2005.We also have our source tables in sql server 2005.We are planning to migrate our repositories from sql server 2005 to oracle 10g.We are also migrating our source tables from sql server 2005 to oracle.Do we need to redo all our development in oracle.Can any body help with the steps to migrate our repositories and development work from sql server 2005 to oracle 10 g.
Thanks,
Revanthdbf it's not sql server.
>
SQL Server databases have three types of files:
Primary data files
The primary data file is the starting point of the database and points to the other files in the database. Every database has one primary data file. The recommended file name extension for primary data files is .mdf.
Secondary data files
Secondary data files make up all the data files, other than the primary data file. Some databases may not have any secondary data files, while others have several secondary data files. The recommended file name extension for secondary data files is .ndf.
Log files
Log files hold all the log information that is used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is .ldf.
>
for dbf to oracle see http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:711825134415 -
Migration of table from sql server to oracle
Hi,
I had to export few tables from SQL Server to Oracle. After the migration, I am checking to see all the tables in Oracle that have been migrated from Sql Server. I am executing select * from tab; and am seeing all the the tables (including those have been exported) from the output list of tables. However, when I am doing a select * from x; where x is one of the few tables that have been migrated, it says table or view does not exist. This is the problem with all other migrated tables. Any help is appreciated in advance. Thanks.
[email protected]Try select * from "x"
-
Exporting data from SQL Server database to Oracle database
Hello All,
We need to replicate a table's data of SQL Server database to Oracle database.
Can this task be accomplished using Import/Export wizard or Linked servers?
Can help me regarding which Oracle data access components should i download to do this?
I am using SQL Server 2012.
And i have Oracle 11g release 2 client installed in my system.
Thanks in Advance.
Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
Export SQL server data to Oracle Using SSIS
Use OLEDB data provider to transfer data from SQL server to Oracle
Using Import Export Wizard
Similar thread
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Read Money format from SQL Server 2008
Hi all,
i created a db link from oracle to sql server using Heterogeneous Connectivity, it works fine, i can read/write data from SQL Server 2008 but i can't read column with money format correctly, i got always a integer number.
Can anyone help me, please?
SergioHi Mark,
with the command
describe TEST@DL_SQLSERVER2008
i get the error :
Error: ORA-00904: "OBJECT_TYPE": invalid identifier
If i create a table :
CREATE TABLE TEMP AS (SELECT * FROM TEST@DL_SQLSERVER2008 );
the column of the table TEST with type MONEY is mapped to the type number(19,4)
With the query from SQL Server the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3,822
1 AB 0503019 3,60
1 AB 0509015 15,75
1 AB 0706015 1,96
1 AB 0810050 1,617
1 AB STANDARD 0,00
With the query from Oracle the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3
1 AB 0503019 3
1 AB 0509015 15
1 AB 0706015 1
1 AB 0810050 1
1 AB STANDARD 0
Thanks,
Sergio -
SQL Server 2008 to Oracle or MYSQL?
Hi guys,
I need some advice/help on DB transfer for a current site I'm working on. I have built a website http://london-school-of-makeup.com which I have installed on an IIS Server which means I am using SQL Server 2008 for the DB. This, I know now was a big mistake as SQL Server is only good for my .net projects, and terrible for my php projects (especially a wordpress website). What I am trying to do is transfer the DB to an Oracle environment, but I don't know whether Oracle is better or MYSQL for a site like this? I have been trying to export the data from SQL Server 2008 which I then want to transfer, but even that is a huge headache. Any help or advice would be greatly appreciated.Hi,
I don't know if there are any direct comparisons of Oracle and MySQL but one thing to consider is licensing. If you use Oracle you will need to pay for a license but there is a free community version of MySQL.
The free MySQL version is only supported via the MySQL communities and you cannot open SRs with Oracle support as to do that also needs a MySQL support license.
Regards,
Mike -
IS there a way to view all the queries executed against a table in sql server 2008 R2
Hi,
We would like to see if a table is getting updated or deleted from external source. Hence we want to know how to see list of queries run against a particular table in sql server 2008 R2.
Thanks,
PreethaHi,
We would like to see if a table is getting updated or deleted from external source. Hence we want to know how to see list of queries run against a particular table in sql server 2008 R2.
Thanks,
Preetha
Audit, Trigger and custom profiler can be used.
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle
Maybe you are looking for
-
Failed Job Query on Central Management Registered Servers - Host Server is not included in results
The following standard query works great for showing failed jobs on servers. Executing this in Central Management Registered Servers works as expected, but the Host Server results are not listed, and the same query needs to be executed against the ho
-
I'm looking for an example of using a web service in OVD to authenticate a user and manage user data. The web service was built in .Net. The ultimate goal is to add an LDAP layer to the web service to integrate an application requiring LDAP.
-
How to make an ABAP Proxy public as an asynchronous WebService
Hello together, i have made an ABAP-Proxy public as an WebService by generating the WSDL from the directory for my asynchronous <b>outbound interface</b>. This outbound interface is mapped to the ABAP-inbound interface and so on. This works fine. But
-
PHOTO BOOTH EFFECTS WITH BACKGROUND IMAGES NOT WORKING
JUST TO KNOW HOW THE IMAGES BACKGROUND WORKS ON PHOTO BOOTH EXAMPLE PARIS THERE IS A SPACE TO PLACE THE FACE AND IS NOT WORKING. TKS. MARIA
-
Copy and Paste on the 3G iPhone
can you copy and paste in email on the 3G iPhone?