Migrate sql server dump file to Oracle database on a network
I have a sql server dump file provided to me by DBA's. I have to migrate this dump file to Oracle database on a network. Please suggest me the steps to do this.
5c1ab566-05d1-4cc9-894a-fd1fe724c752 wrote:
That would be a text file with around 100 records. I have migrate those records to oracle database. The firewall constraints doesn't allow me to create a link to that database. Will Migration workbench would be apt for this case. How can i capture the database offline in this case ?
regardless of the tool/technique you use, those bits have to get from machine running sqlserver to the machine running Oracle. Either over the network (through the firewall) or via 'sneakernet.' What, exactly, are the firewall constraints?
If the export is a simple text file (character delimited fields? fixed length fields?) and only 100 records ... Migration Workbench may be overkill, perhaps a simple sqlldr job. But you still have to get the bits from 'there' to 'here'.
============================================================================
BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name. It doesn't have to be your real name, just something that looks like a real name. Who says my name is really Ed Stevens? But at least when people see that on a message they have a recognizable identity. Unlike the system generated name of 'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.
Similar Messages
-
Migrating SQL Server 7.0 to Oracle 8i in Different Operating Systems
I am migrating SQL Server 7.0 Databases on NT to Oracle 8i on Sun 2.6. Is there is any other way other then Migration Workbench.
If Mig Workbench is OK. What are the steps to do Migration.
nullHi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
Migrate SQL Server 7.0 to Oracle 8i - Any known issues??
Hi,
I am in the process of migrating SQL Server database to Oracle 8i for testing purpose. When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting SQL Server database? Would the users be able to use SQL Server database as usual?? Are there any known issues in this regard?
Please reply.
Thanks.
RameshThe Migration Workbench copys the information it requires from the source database and stores it in the Migration Workbench Repository, which is separate from the Source database. So, to answer your question, yes, the users can continue to use the SQL Server database. The data move may cause some system performance degradation. It may also be an idea to replicate the SQL Server database, in case any complication should arise.
Hope this helps
Dan -
Migration SQL Server 6.5 to Oracle 8.0.5
I am migrating from SQL Server 6.5 to Oracle 8.0.5 using
migration Workbench Ver. 1.2.2. The stored procedures are not
migrated properly where temporary tables are used to store the
intermediate results of a query on SQL Server 6.5 side. I want
to look at the coding to create a temporary table with sessionid
as part of table to make it unique for the session and the user
on the oracle side using DBMS_SQL package. Any body can give me
the coding ?
nullSurendra kumar (guest) wrote:
: Oracle Migration Workbench Team wrote:
: : Surendra,
: : It seems like the workbench is trying to use 8i temporary
: tables,
: : which is the default, this option can be switched off.
: : Note that there is an option on the Procedures, Triggers and
: : Views to generate 8i temporary tables, switch this off if
you
: : want to work with 8.0 and have an additional sessionid
column.
: : This option can be set on all procedures (click on the
: procedures
: : category on the SQLServer model pane), or on a per procedure
: : basis (click on the procedure in the left hand SQLServer
model
: : pane).
: : Hope this solves your problem,
: : Turloch
: : Oracle Migration Workbench Team
: : Surendra Kumar (guest) wrote:
: : : I am migrating from SQL Server 6.5 to Oracle 8.0.5
using
: : : migration Workbench Ver. 1.2.2. The stored procedures are
: not
: : : migrated properly where temporary tables are used to store
: the
: : : intermediate results of a query on SQL Server 6.5 side. I
: want
: : : to look at the coding to create a temporary table with
: : sessionid
: : : as part of table to make it unique for the session and the
: user
: : : on the oracle side using DBMS_SQL package. Any body can
give
: me
: : : the coding ?
: : Oracle Technology Network
: : http://technet.oracle.com
I have used the correct option and the Migration Workbench is
not creating the DDL statements correctly for the creation of
table. Whatever may be the problem I want use DBMS_SQL for
creation of unique table names with session id as part of the
table name. I need a sample script to use session id as part of
table name and to vary the name of the table dynamically in
DBMS_SQL. It is not accepting the variable name for table name
in create table statement.
null -
Migrating SQL Server 6.5 to Oracle 8
Hi,
I am currently converting some stored procedures from SQL Server 6.5 to Oracle 8 (PL/SQL). I am having trouble converting some nested sql statements such as the following to work in Oracle.
Example :
SELECT antall=COUNT(*), ulest=(SELECT ulest=COUNT(*) FROM soknad s, annonse
a WHERE a.kundeid=13817 AND s.annonseid=a.id and lest != '1') FROM soknad s,
annonse a WHERE a.kundeid=13817 AND s.annonseid=a.id
The Select is first getting a count on the two tables for a particular id, the second field in the statement has a nested select which does a similar count but has a further condition on it.
It could be done using two SELECT statements like this -
SELECT COUNT(*) AS antall
FROM soknad s, annonse a
WHERE a.kundeid = 13817
AND s.annonseid = a.id
SELECT COUNT(*)
FROM soknad s, annonse a
WHERE a.kundeid=13817
AND s.annonseid=a.id
AND lest != '1'
which may be workable but I would like to keep it as similar to the original as much as possible.
Any ideas would be great!
Thanks,
BradI have since found out subqueries in the select list are not supported by Oracle.
Brad
null -
Migration SQL Server 7.0 to Oracle 8i
Hi,
I am trying to migrate a SQL Server 7.0 database to Oracle 8i using the latest version of the Migration Workbench tool. The source model is normally generated (I see my tables and other objects) but nothing is generated in the Oracle Model... What would be an explanation for this issue and how could I fix it ?
Thanks in advance.
FabienLooks like the capture has gone OK but have you gone through the mapping phase?
-
Migration SQL Server 6.5 to Oracle 8i
Dear Sir,
I download the Oracle Migration Workbench already. I install
that software under Misrosoft Window 95 4.00.950 B. After
Installation, I try to run the migration utilities and I got some
error message, the message is
"Class not found:
oracle.mtg.migrationUI.MigC:\oracle\ora81\omwb\bin "
Could u tell me, what happen ? and If I want to migration from
SQL Server to Oracle, How, Could u let me know about the step of
migration ?
Regards
Pongrat P.
nullI have just downloaded OMWB from net and was facing the same
problem what Pongrat has faced. Thnaks for ready solution
available. I have done the same as mentioned in this mail and
worked.
Rajesh Chug
Oracle Migration Workbench Team wrote:
: Pongrat,
: You have come across a line length problem(see below)
: There is some documentation included with the workbench, and
: there is more downloadable from OTN. There is even a quick
tour
: for the workbench in the OTN->Technology->Migration section.
: Hope that helps,
: Turloch
: Oracle Migration Workbench Team
: The line in the omwb.bat file has gotten too long, you can
remove
: some bits of it that we are not useing yet, ie informix and
db2
: plugin classpath references. Paths differ but if for example
you
: have a classpath entry in the relevent jre line like:
: C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program
: Files\Oracle\jre\1.1.7
\lib\i18n.jar;C:\ORA81c\Omwb\jlib;C:\ORA81c
\Omwb\plugins\SQLServer6.jar;C:\ORA81c\Omwb\plugins\Sybase.jar;C:
\ORA81c\Omwb\plugins\MSAccess.jar;C:\ORA81c\Omwb\plugins\SQLAnywh
ere.jar;C:\ORA81c\Omwb\plugins\SQLServer7.jar;C:\ORA81c\Omwb\jlib
: \omwb-
1_2_2_2.jar;C:\ORA81c\Omwb\jlib\oem204.jar;C:\ORA81c\Omwb\j
lib\OemCorbaVisi.jar;C:\ORA81c\Omwb\jlib\vbj30.jar;C:\ORA81c\jlib
: \ewt-3_1_11.jar;C:\ORA81c\jlib\share-
1_0_6.jar;C:\ORA81c\jlib\hel
: p-3_0_7.jar;C:\ORA81c\jlib\oracle_ice-
4_03_3.jar;C:\ORA81c\Omwb\j
: lib\ewtcompat-opt-3_1_11.zip;C:\ORA81c\Omwb\jlib\kodiak-opt-
1_0_3
: .zip;C:\ORA81c\jdbc\lib\classes111.zip
: The entries:
C:\ORA81c\Omwb\plugins\MSAccess.jar;C:\ORA81c\Omwb\plugins\SQLAny
: where.jar;C:\ORA81c\Omwb\plugins\SQLServer7.jar;
: can be removed, if you are not using sqlserver7 plugin
(currently
: in beta test), or MSAccess plugin (about to go to beta),
: SQLAnywhere plugin (in development). This should shorten the
path
: enough, if not your could copy the jar files to somewhere with
a
: shorter path eg c:\omwb and change the classpath argument
above
: to point to the smaller path length copies.
: Pongrat (guest) wrote:
: : Dear Sir,
: : I download the Oracle Migration Workbench already. I
install
: : that software under Misrosoft Window 95 4.00.950 B. After
: : Installation, I try to run the migration utilities and I got
: some
: : error message, the message is
: : "Class not found:
: : oracle.mtg.migrationUI.MigC:\oracle\ora81\omwb\bin "
: : Could u tell me, what happen ? and If I want to migration
from
: : SQL Server to Oracle, How, Could u let me know about the
step
: of
: : migration ?
: : Regards
: : Pongrat P.
: Oracle Technology Network
: http://technet.oracle.com
null -
How to migrate sql server image type to oracle BLOB
In SQL Server table I have Image data type field. How to migrate image type field to oracle BOLB type field. I am using SQL server DTS to transfer the data.
If we map, will it care ?
Thanks,
Venkataraman LHi you might want to post your question in General Forum.
General Database Discussions
There's very few users visit this forum. -
Migrating SQL server 6.5 to Oracle
Does anyone know if SQL seveloper 1.5.5 work with SQL Server 6.5? i have been trying set it up, but i get the following error every time when trying to connect to the 6.5 SQL Server:
Status: I/O Error: Stream 0 attempting to read when no request has been sent
BTW, i do not hav ethe option to upgrade the SQL Server at thi stime
Any help would be greatly appreciated.
Thanks in advanceHi Jacques,
Just to be clear.
SQL Server 6.5 is not supported by SQL Developer or the old OMWB.
The only supported version of SQL Server, is 7,2000 and 2005 which are supported by SQL Developer.
Having said that
The old OMWB can be downloaded here
http://www.oracle.com/technology/software/tech/migration/workbench/index.html
And the old (unsupported) SQL Server 6.5 plugin can be found here
http://download.oracle.com/otn/nt/omwb/101040/SQLServer6.jar
Regards,
Dermot. -
Migrating SQL Server SSIS package to Oracle
Dear All,
We are using Microsoft SQL server 2005 in our application, we have two separate Server instances where one instance synchronize data from other server table using SQL Server SSIS package. What can be the counterpart of this functionality in Oracle. I have looked into materialized views but in my case the target table will have more columns than the base table, and the query used to get data from base table will extract some values from one of the BLOB type column of base table and then populate target table multiple columns.
Kindly suggest me any solution.
Best Regards
IrfanYou can start with Oracle doc,
Oracle® Database PL/SQL User's Guide and Reference
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
I don't think there's side by side comparison reference between them. Some syntax is very different. -
Migrating SQL Server development skills to Oracle
Hi all,
I've been working with SQL Server in a development capacity for about 7 years now. I'm no specialist, but I'm comfortable in it and am conversant in SQL Server terminology. I need to pick up similar development skills in Oracle. I don't need to know a lot about DBA stuff, perhaps just a few considerations for performance tuning. I won't be "switching" to Oracle, but rather picking up those skills and working on both platforms for the forseeable future.
What I'm looking for is a book/white paper/website which gives me, as quickly as possible, a direct comparison between SQL Server and Oracle. Some of the things I might want to know are (in order):
- Syntax differences between T-SQL and PL-SQL
- T-SQL functions and equivalent Oracle/PL-SQL functions
- Connection and setup methods (for one, I believe everything in Oracle resides in schemas generally under a single database?)
- An overview of the reasons people would use Oracle rather than SQL Server
Can anyone recommend a book in this regard? Failing that, can anyone recommend a book on Oracle which is, hopefully, more on the concise side and includes a function reference?
SamYou can start with Oracle doc,
Oracle® Database PL/SQL User's Guide and Reference
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
I don't think there's side by side comparison reference between them. Some syntax is very different. -
Sql Server Management Assistant (SSMA) Oracle okay for large database migrations?
All:
We don't have much experience with the SSMA (Oracle) tool and need some advice from those of you familiar with it. We must migrate an Oracle 11.2.0.3.0 database to SQL Server 2014. The Oracle database consists of approximately 25,000 tables and 30,000
views and related indices. The database is approximately 2.3 TB in size.
Is this do-able using the latest version of SSMA-Oracle? If so, how much horsepower would you throw at this to get it done?
Any other gotchas and advice appreciated.
Kindest Regards,
Bill
Bill DavidsonHi
Bill,
SSMA supports migrating large database of Oracle. To migrate Oracle database to SQL Server 2014, you could use the latest version:
Microsoft SQL Server Migration Assistant v6.0 for Oracle. Before the migration, you should pay attention to the points below.
1.The account that is used to connect to the Oracle database must have at least CONNECT permissions. This enables SSMA to obtain metadata from schemas owned by the connecting user. To obtain metadata for objects in other schemas and then convert objects
in those schemas, the account must have the following permissions: CREATE ANY PROCEDURE, EXECUTE ANY PROCEDURE, SELECT ANY TABLE, SELECT ANY SEQUENCE, CREATE ANY TYPE, CREATE ANY TRIGGER, SELECT ANY DICTIONARY.
2.Metadata about the Oracle database is not automatically refreshed. The metadata in Oracle Metadata Explorer is a snapshot of the metadata when you first connected, or the last time that you manually refreshed metadata. You can manually update metadata
for all schemas, a single schema, or individual database objects. For more information about the process, please refer to the similar article:
https://msdn.microsoft.com/en-us/library/hh313203(v=sql.110).
3.The account that is used to connect to SQL Server requires different permissions depending on the actions that the account performs as the following:
• To convert Oracle objects to Transact-SQL syntax, to update metadata from SQL Server, or to save converted syntax to scripts, the account must have permission to log on to the instance of SQL Server.
• To load database objects into SQL Server, the account must be a member of the sysadmin server role. This is required to install CLR assemblies.
• To migrate data to SQL Server, the account must be a member of the sysadmin server role. This is required to run the SQL Server Agent data migration packages.
• To run the code that is generated by SSMA, the account must have Execute permissions for all user-defined functions in the ssma_oracle schema of the target database. These functions provide equivalent functionality of Oracle system functions, and
are used by converted objects.
• If the account that is used to connect to SQL Server is to perform all migration tasks, the account must be a member of the sysadmin server role.
For more information about the process, please refer to the similar article:
https://msdn.microsoft.com/en-us/library/hh313158(v=sql.110)
4.Metadata about SQL Server databases is not automatically updated. The metadata in SQL Server Metadata Explorer is a snapshot of the metadata when you first connected to SQL Server, or the last time that you manually updated metadata. You can manually update
metadata for all databases, or for any single database or database object.
5.If the engine being used is Server Side Data Migration Engine, then, before you can migrate data, you must install the SSMA for Oracle Extension Pack and the Oracle providers on the computer that is running SSMA. The SQL Server Agent service must also
be running. For more information about how to install the extension pack, see Installing Server Components (OracleToSQL). And when SQL Express edition is used as the target database, only client side data migration is allowed and server side data migration
is not supported. For more information about the process, please refer to the similar article:
https://msdn.microsoft.com/en-us/library/hh313202(v=sql.110)
For how to migrate Oracle Databases to SQL Server, please refer to the similar article:
https://msdn.microsoft.com/en-us/library/hh313159(v=sql.110).aspx
Regards,
Michelle Li -
Please refer to TAR # 2005705.995 for more details.
I am unable to migrate SQL Server 7.0 database into oracle 8i . While in the
capturing stage I get the following errors shown in the attachment . It hangs
while tyring to make indices. I tried aborting the operation but it wouldn't
let me do it . it says cannot abort the application.
After waiting for ages, I therfore use TASK MANAGER in NT I kill me OMWB
application.
I get plenty of EXECEPTION ERRORS failed to map tables and then it gets stuck while trying to create indices.
Please refer to TAR # 2005705.995 for more details.Hi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
Hi All,
I would like to ask how can imports my dump oracle database file data and struct into sql server 2005
with out make connection oracle.
best regards.
Hakim.Hi Hakim.
Based on your title, what I understood there is a issue regarding transfer oracle db dump to sql database using C# code. Am I right? If so, I am afraid there is no build-in method which meet your requrements in .NET framework. You must provides
OraDump Export API to allow developers integrate corresponding capabilities into their applications. These capabilities are about export data from Oracle dump files into popular databases like Microsoft SQL server. Every developer
having OraDump Export API can write just few lines of code on C# or Visual Basic to implement the appropriate export process.
I am search a third-party link, but it's a paid service.
http://www.convert-in.com/data-migration-service.htm
If you don't have to with code, Please refer to: Migrating Oracle Databases to SQL Server 2000
http://technet.microsoft.com/en-us/library/cc966513.aspx
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Quick Migrate: SQL Server database to Oracle
When I try Quick Migrate: SQL Server database to Oracle, I get the following error messages:
1. Locating source plugin...failed
2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
Error #1 I do not understand.
Error #2: I created the user as follows:
DROP USER GRAINTEST CASCADE
CREATE USER GRAINTEST
IDENTIFIED BY SQL
DEFAULT TABLESPACE SMARTSOFT_DATA
TEMPORARY TABLESPACE TEMP
QUOTA UNLIMITED ON SMARTSOFT_DATA
QUOTA UNLIMITED ON SMARTSOFT_INDEX
GRANT CONNECT,
RESOURCE,
CREATE ROLE,
CREATE VIEW,
CREATE SESSION,
ALTER ANY TRIGGER TO GRAINTEST
DROP ROLE R_GRAINTST
CREATE ROLE R_GRAINTST NOT IDENTIFIED
GRANT R_GRAINTST TO GRAINTEST
WITH ADMIN OPTION
Thanks
MurrayMurray,
Apologies for referring to the 1.5 documentation but the 2.1 documentation still has the same information about creating a user to hold the repository.
You initially reported 2 problems -
1. Locating source plugin...failed
2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
For the first error have you installed the necessary JDBC driver ? I have just installed SQL*Developer 2.1 on a new laptop and could successfully connect following the documentation steps -
Oracle® SQL Developer
User’s Guide
Release 2.1
2.5.2 Before Migrating From Microsoft SQL Server or Sybase Adaptive Server
To configure a Microsoft SQL Server or Sybase Adaptive Server database for
migration:
1. Ensure that the source database is accessible by the Microsoft SQL Server or
Sybase Adaptive Server user that is used by SQL Developer for the source
connection. This user must be able to see any objects to be captured in the
Microsoft SQL Server or Sybase Adaptive Server database; objects that the user
cannot see are not captured. For example, if the user can execute a stored
procedure but does not have sufficient privileges to see the source code, the stored
procedure cannot be captured.
2. Ensure that you can connect to the Microsoft SQL Server or Sybase Adaptive
Server database from the system where you have installed SQL Developer.
3. Ensure that you have downloaded the JTDS JDBC driver from
http://jtds.sourceforge.net/.
4. In SQL Developer, if you have not already installed the JTDS driver using Check
for Updates (on the Help menu), do the following:
a. Click Tools, then Preferences, then Database, then Third Party JDBC Drivers.
b. Click Add Entry.
c. Select the jar file for the JTDS driver you downloaded from
http://jtds.sourceforge.net/.
d. Click OK.
========
The second error is again documented in the 2.1 documentation -
5.99 Privilege Warning for Migration
This dialog box is displayed if you click Verify in the Quick Migrate box and the
database user for the connection does not have all privileges necessary for a
multischema migration. For multischema migrations, this user must granted the
RESOURCE role with the ADMIN option; and this user must also be granted the
CREATE ROLE, CREATE USER, and ALTER ANY TRIGGER privileges, all with the
ADMIN option.
If you are performing a single-schema migration, you can ignore this warning.
=====
Which errors are you now seeing and which user was used to hold the repository ?
If you are using GRAINTEST for the repository then create it using this syntax -
CREATE USER GRAINTEST IDENTIFIED BY password <=== change password as necessary
DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; <=== change tablespaces as necessary
GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE PUBLIC SYNONYM TO
GRAINTEST WITH ADMIN OPTION;
GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
ALTER ANY TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
CREATE ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY
SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY
ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO
GRAINTEST with admin option ;
then when making the migration make sure the Oracle connection is to this user.
Please update the thread with the errors you get after following these steps.
Regards,
Mike
Maybe you are looking for
-
New Infinity 2 Install (Originally 47 Down 10 up n...
Having endured 2 days without any internet connection awaiting my install (in itself quite staggering in this modern age) I was pleased when the engineer finally turned up yesterday at 17:55 in a 13:00 - 18:00 install window. Everything went smoothl
-
Can't get stuff I paid for and downloaded to new computer with itunes.
Ok, I was having some major issues. I posted them here: http://discussions.apple.com/thread.jspa?threadID=2569987 So I decided to download Itunes to my laptop and start over. I tryed to start my desktop to deautherize thta computer but I found out it
-
My Facebook app has disappeared
My Facebook app has disappeared. It still appears in the purchased section of the my app store with status OPEN but when I click on OPEN nothing happens. I have restarted my iPad, restored settings and still no help. I was also advised to cable link
-
Continuing Bridge Cs6 problems
Have been close to a month now and no Bridge? Have uninstalled CS6 again. How can you do a Beta with half the program. Since the Bridge anomally seems to be happening in Windows and Mac, it would seem someone could figure this out. To recap once
-
I have imported all my pics the proper way into iphoto. the thing i didnt do is rename the roll the pics were going in, so the film rolls are recognized by numbers. is there anyway to rename the roll to a title once the roll is created in iphoto. tha