Quick Migrate SQL 2k To Oracle 10g fails
Has anyone come across a solution for the following:
Error ocurred during capture: ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
When using the quick migrate feature of SQL Developer 2.1.1.64 to import a SQL Server 2000 database into Oracle 10g. I am also using JTDS 1.2.5.
Any assistance would be appreciated - thanks in advance.
Edited by: user13281085 on Jun 10, 2010 4:34 PM
Hi,
I found a reference to a cause for this error available in My Oracle Support -
ORA-24816 On Insert Statement (Doc ID 746333.1)
When attempting to insert data into a table that contains LOBs, received the following error during insert.
INSERT INTO catentdesc (NAME, LONGDESCRIPTION, XMLDETAIL, AVAILABLE, PUBLISHED) VALUES (?, ?, ?, ?, ?)
ERROR
Ora-24816: expanded non long bind data supplied after actual long or lob column
The table definition is:
Name Null? Type
NAME VARCHAR2(128)
LONGDESCRIPTION CLOB
XMLDETAIL CLOB
AVAILABLE NOT NULL NUMBER(38)
PUBLISHED NOT NULL NUMBER(38)
The workround was to change the insert -
INSERT INTO catentdesc (NAME, AVAILABLE, PUBLISHED,
LONGDESCRIPTION, XMLDETAIL) VALUES (?, ?, ?, ?, ?);
where the lob columns are positioned at the end of the statement.
This is fixed in the 11.2 RDBMS.
========
To follow up we would need to know the statement causing the problem and the definition of the SQL*Server table involved.
Could you do a manual capture and generate the scripts for the Oracle table creates ?
Regards,
Mike
Similar Messages
-
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 -
Migration from SQL server to Oracle 10g
Hi, I am new here,
I would like to ask how to use SQL developer MWB to migration SQL Server to Oracle?
I have go through the doc(s) like: getting start, user's guild, etc. and have following problems
(1), where should the SQL developer installed? in SQL Server side? Oracle side? or any PC with connection to the databases?
(2), do I need to get some plug-in(s) for MWB to work? If yes, which plug-in do I need and where are they?
Thank you very much.Hi Chocobo,
I put together a Quick Guide myself
http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html
I updated it to answer your questions.
Hope that helps
Dermot. -
Migration from MS SQL Server to Oracle 10g
Hi,
In our application, we are planning to refresh data every one hour from MS SQL Server to Oracle 10g. Can anyone tell me what approach can be followed?
Thanks & Regards,
Faizal MKHello,
migrations can be done with the Migration Workbench that is included in the SQL Developer: http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
But your question sounds more like a replication of data than a migration. Please read as a starter the following note in My Oracle Support (former Metalink):
Note 283700.1: How to replicate Data between Oracle and a Foreign Datasource
That note describes ways for the replication in both directions. Please let me know whether this is helpful for you.
Best regards
Wolfgang Kobarg-Sachsse -
Portals DB migration SQL Server to Oracle?
Hello, Can EP6 running on Win2000/SQLserver be migrated to Oracle database. I searched OSS but couldnt find any reference (https://websmp108.sap-ag.de/nw-epmig). If possible, what would be the steps involved. Any help would appreciated
John,
It is not possible to change the DB vendor during migration, using the migration tools, but
after upgrading EP 5.0 to EP 6.0 NW2004s on SR1 we can use the heterogeneous system copy to go from
SQL 2000 to Oracle 10g?
No cross platform (operating system) migration. Is this during migration using the migration tools
only? Or even after the EP 6.0 NW2004s on SR1 we can now then do both a DB switch and a platform swicth
(i.e. Windows/MS SQL 2000 to Unix/Oracle 10g?
Thanks.
James -
SQL*Plus with Oracle 10g Express Edition
How Can I do to log in using SQL*Plus into Oracle 10g?
My Schema is: Banco.Global
My Password is: 111111
I need to write SET SERVEROUTPUT ON to get answer?
I opened the Prompt, but i don't know to log in.
Thanks and my english is not as well as you.If i write:
SQL>connect "Banco.Global"/111111
a error message is raised: Invalid username/password; logon denied
but if I log in into Home Page with the same Username and Password, I get to log in.
There is difference to connect SQL*Plus and the connect with Home Page the Oracle?
I need to connect with SQL*Plus, because i need to make a test. -
Migration from DB2 to Oracle 10g using free tools
Dear all,
Im currently using DB2 database and wish to migrate data over to Oracle 10g express. However, i could not find any free tools or methods to migrate without using tools as i could not use tools like Oracle Migration Workbench as the migration is for certain project which will deal with internal process or commercial purpose.
Would like to seek everybody's help. Greatly appreciation your response.
Regards,
Kee Cheng =)nvr4getu wrote:
Thanks. But have you heard of creating a heterogenous services, create a database link between the 2 database, then transform over to Oracle?I thought you were looking for a free tool. With HS, you'll have to buy the component to install on the DB2 system. Unless something has changed since the last time I worked in a mixed Oracle/DB2 shop. -
Is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader
Hi
Can anyone tell me whether is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader?
I am upgrading the 9i db to 10g and wanted to run the 9i SQL Loader control files on upgraded 10g db. So please let me know is there any difference which I need to consider any modifications in the control files..
Thank you in advance
Adianswered
-
Migrate Ingres database to Oracle 10g
Hi there,
Anyone knows any tool that would help migrate Ingres db to Oracle 10g database? And has anyone does this problem can provide some inputs.
ThanksPlease check in workbench ( oracle), if not then I belive you need make the flat files of data and load in to Oracle.
--Girish -
How to migrate sql 7 to oracle 9i ???
Hi,
Plz let me know the step by step solution of how to migrate sql 7 to oracle 9i? I am using oracle 9i and i have a d'base created in sql 7 and I am using win2000 server all are on the same server.if you could provide me the links which solve my problem.
thanks a lot
wityh regards : Alok KumarHi Alok,
Oracle have a tool called the Oracle Migration Workbench (OMWB). It is a free tool which can help you migrate you database from SQL Server 7 to Oracle 9i. You can find out more about it here.
http://www.oracle.com/technology/tech/migration/workbench/index.html
You basically need to download the OMWB Core part and then 1 of the plugins (You need to download the SQL Server 7 plugin).
Once these are installed you can connect to your SQL Server 7 database, capture the schema objects within, map these to their Oracle equivalents and then Generate then into you Oracle database. Its GUI wizard driven tool so its easy enough to use.
Note that this tool helps people move there databases to Oracle and is not a silver bullet. The more complex your database more time you need to rectify problems and test.
I hope this helps,
Dermot. -
How to Migrate DB2 database to Oracle 10g R2 with this Developer Workbench
Hi
Can anybody tell how to migrate all the data which is present in DB2 to Oracle 10g Release2 through this tool. will it be possible to migrate all the data(tables,stored procedures,views,etc)?.
if anybody knows how to do it please provide me the entire steps for the same.
I am in bad need of help to Migrate my database to Oracle 10g R2
Thanks in expectation,
SelvaSelva,
The link for plugins is: http://www.oracle.com/technology/software/tech/migration/workbench/index.html. You can find DB2 plugins at the bottom of the page.
Regarding the migration procedure, you can start by reading this document:
http://www.oracle.com/technology/tech/migration/workbench/htdocs/101040/user_guide/book.pdf
Good luck,
andrei -
Migration from SQL 2000 to Oracle 10g
Hi every one,
This is the first i am posting to this forum.
I have a problem in migration of Sql Server database to Oracle 10g.
We use Microsoft Navision Axapta 3.0 SP4 as front end.
and Sql Server 2000.
All table and indexes are created in sql server by Navison only.
My Database size is 300 GB and now we face thousands of Problem with SQL server so we decided to make a intelligent move to oracle 10g.
As we have 1200+ users.
The problem i am facing when i tranfer all the table to my Oracle Database it gives a error out of buffer.
some time it gives me error about the index as few of our developer have create two indexex on one field.
So oracle identifies that there are two indexes on one field.
So pls help how can i solve this problem.
I have 1234 tables.
from
Mohd SufianCan you post the exact Oracle error you are getting? The ORA-xxxxx part is the most important for us to identify what particular problem(s) you're having.
Is your front-end certified to use an Oracle database? Particularly if the front end is creating database objects, it needs to know how to work with whatever database it is connecting to.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
SQL 2005 to Oracle 10g migration
We are migrating from SQL 2005 on Windows to Oracle 10g on Linux. If any one has experience with this kind of migration please share the steps involved.
Also is it possible to migrate subset of data from SQL to Oracle or is migrating entire data/schema the only option?
Any help or direction in this is much appreciated.Thanks in advanceHi spulyala,
There is no clear and simple way of doing this.
-The online data move migrates from one java connection/table to another java connection/table so you would need to have the source table already filtered.
-The offline data move dumps the information out of SQL Server one table at a time, a where clause may be able to be applied manually at this stage, and loads the data in using Oracle sqlldr.
Of course you can filter and manipulate the tables within SQLServer before migration, within Oracle after migration, and delete table representations from with the tool.
-Turloch -
Migrate Data action hanging migrating from sql server to Oracle 10g
Hi,
I am currently migrating a SQL Server 2005 db to Oracle 10g using SQL Developer 1.2.1. I have created the migration repository, captured the SQL Server db objects, and created the target schema. There are about 109 tables captured. During Data migration, however, the data move hangs. I have run the data move a couple of times now and it does not hang while migrating any particular table, but seems to be more to do with the length of time it is taking to migrate. Could this be an issue with SQL Server connections being lost? The SQL Server db is quite large. Row counts of 100k plus.
Message was edited by:
user596259Probably. There is an offline option for migrating data under the migration menu. Generate Scripts for the data move using the appropriate converted model and u can export the data to bcp export files and load it with teh generated SQL Loader scripts.
-
Faster way to migrate data from SQL Server to Oracle 10g
We have to migrate data from SQL Server to Oracle 10 g.
One particular table on SQL Server has records around 1.25 millions.
We tried moving data using DTS package, but looks it will take hours with current speed of 300 records/minute.
This table has TEXT column, which has XML strings stored. I am not sure, if this is the reason for slow migration.
Would you please suggest better options to migrate it faster?
Thanks in advance !!!Have you tried Migration work bench?
Maybe you are looking for
-
HT5622 how do i remove my credit card information from my apple i.d permanently
i want to make sure its remove permanently from my account.
-
In XML Show Form display Creator FirstName and LastName ?
Hi all, In XML Form Builder i want to display the creator FirstName and LastName ( Diamond Admin) in the Show Form. For egs: Logon ID: diamond_admin Last Name: Admin First Name: Diamond In the EDIT Form By using $sap_user and also createdBy property
-
Hi I bought 2TB WD my passport for mac but I do not know what I can delete from the original macbook air. Thank you.
-
Since this is a pre-release version, I figured it was appropriate to note what I consider to be some shortcomings. #1: Remember where I last saved a file, and use it by default next time I save. I HATE having to browse all over the place when all I w
-
Hi everyone. In WSE 2012 R2 it is possible to upload up to 2 Gb at once. Is it possible to change this value? Maybe somewhere in registry? Thanks for help.