Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data migration from sql to oracle


Data migration from sql to oracle

Author
Message
mssqlsrv
mssqlsrv
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 579
I have transferred one table from sql server 2008 r2 to oracle 11g. using import export wizard.
all permissions in oracle are set proper. while exporting it shows me records are transferred.

then I connected to oracle & search my transfer table using select * from tab;
It shows me table is there but when I want to see data using select * from mytable_name;
then it gives me an error that "table or view doesnot exist".

I tried to build an SSIS package & transferred table but same thing happen.
DBA permission is assigned to oracle user.
Please help me why I can't see table in oracle, if SQL shows "rows are transferred".
Joie Andrew
Joie Andrew
SSC Eights!
SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)

Group: General Forum Members
Points: 978 Visits: 1921
Can you see the table from a linked server within SSMS?

Joie Andrew
"Since 1982"
prettsons
prettsons
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 1381
This error message occurs because of Oracle tries to execute an SQL statement that references a table or view that either does not exist, or because of a synonym that is not allowed here was used, or because of you do not have access rights to the particular object. Other possible cause is that the table or view belongs to another schema and you didn’t reference the table by the schema name, or a view was referenced where a table is required.

For more information: http://www.mydigitallife.info/ora-00942-table-or-view-does-not-exist-oracle-error/

SQL Database Recovery Expert :-)
mssqlsrv
mssqlsrv
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 579
Yes, I can see the table through linked server , but while accessing it gives me an error.

Error:- The OLE DB provider "MSDAORA" for linked server "oracle" does not contain the table ""ggs_owner"."vd"". The table either does not exist or the current user does not have permissions on that table.
sam-770000
sam-770000
Valued Member
Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)

Group: General Forum Members
Points: 65 Visits: 385
Check the version og Oracle you are using in both systems - that is whether it is 32-bit oracle client and a 32-bit SQL server or both systems are 64-bit.

I believe the MSDAORA provider is for 32-bit systems. Good luck!Hehe
Joie Andrew
Joie Andrew
SSC Eights!
SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)SSC Eights! (978 reputation)

Group: General Forum Members
Points: 978 Visits: 1921
I believe the MSDAORA provider is for 32-bit systems


Speaking of MSDAORA, isn't that provider no longer supported? I thought it was meant only for Oracle 8i systems and below. It may be better to use the Oracle OLE DB provider.

If you connect to the Oracle database with SQLPlus and run the following, what do you get:

describe [table name]

Joie Andrew
"Since 1982"
Lowell
Lowell
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14984 Visits: 39012
as i remember it, MSDAORA is 32 bit, no longer supported, adn only works correctly on oracle 9 and below;
10,11 and above changed the way they handle BLOB/CLOBS, and you get errors if you use that driver on tables containing that datatype.

Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search