Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Data migration from sql to oracle Expand / Collapse
Author
Message
Posted Wednesday, November 28, 2012 2:23 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 11:42 AM
Points: 81, Visits: 334
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".
Post #1389584
Posted Wednesday, November 28, 2012 5:24 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Today @ 2:25 PM
Points: 702, Visits: 1,381
Can you see the table from a linked server within SSMS?

Joie Andrew
"Since 1982"
Post #1389657
Posted Wednesday, November 28, 2012 9:06 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, April 14, 2014 12:44 AM
Points: 102, Visits: 1,165
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
Post #1390261
Posted Thursday, November 29, 2012 3:20 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 11:42 AM
Points: 81, Visits: 334
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.

Post #1390380
Posted Thursday, November 29, 2012 12:27 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Yesterday @ 6:28 AM
Points: 61, Visits: 285
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!
Post #1390780
Posted Monday, December 03, 2012 1:40 PM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Today @ 2:25 PM
Points: 702, Visits: 1,381
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"
Post #1392131
Posted Monday, December 03, 2012 1:46 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:39 PM
Points: 12,749, Visits: 31,114
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

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1392133
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse