dbTalk Databases Forums  

DTS between SQL server 2000 and Oracle 8.1.7

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS between SQL server 2000 and Oracle 8.1.7 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lucy Lin
 
Posts: n/a

Default DTS between SQL server 2000 and Oracle 8.1.7 - 02-11-2004 , 01:15 PM






Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to Oracle
8.1.7. After transfering completed successfully, I loged into oracle and
tried to select data from the tables. I got 'table does not exist' error.
But when I select table_name from oracle data dictionary, I saw tables exist
in oracle. Then I opened SQL Query Analyzer, I can select data from the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me suggestion?

Thanks in advance!

Lucy



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS between SQL server 2000 and Oracle 8.1.7 - 02-12-2004 , 01:31 AM






Case sensitive?
Wrong Schema?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote

Quote:
Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to Oracle
8.1.7. After transfering completed successfully, I loged into oracle and
tried to select data from the tables. I got 'table does not exist' error.
But when I select table_name from oracle data dictionary, I saw tables
exist
in oracle. Then I opened SQL Query Analyzer, I can select data from the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me suggestion?

Thanks in advance!

Lucy





Reply With Quote
  #3  
Old   
Lucy Lin
 
Posts: n/a

Default Re: DTS between SQL server 2000 and Oracle 8.1.7 - 02-12-2004 , 09:42 AM



It is in the right schema. Following is the output from oracle database:

SQL> show user
user is "DEMO_WEB"
SQL> select OBJECT_NAME, OBJECT_TYPE, CREATED, STATUS from user_objects
where object_name like 'f%';

OBJECT_NAME OBJECT_TYPE CREATED STATUS
------------------------------ --------------- --------- -------
friends TABLE 10-FEB-04 VALID

SQL> desc friends
Object does not exist.
SQL> select * from friends;
select * from friends
*
ERROR at line 1:
ORA-00942: table or view does not exist

But I can select data through oracle linked server by using SQL Query
Alalyzer.

select * from OrclDB..DEMO_WEB.friends

Thanks,
Lucy
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Case sensitive?
Wrong Schema?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:%23Q8PbNN8DHA.2316 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to Oracle
8.1.7. After transfering completed successfully, I loged into oracle and
tried to select data from the tables. I got 'table does not exist'
error.
But when I select table_name from oracle data dictionary, I saw tables
exist
in oracle. Then I opened SQL Query Analyzer, I can select data from the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me
suggestion?

Thanks in advance!

Lucy







Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS between SQL server 2000 and Oracle 8.1.7 - 02-12-2004 , 10:18 AM



It does look strange

what about on Oracle

select * from DEMO_WEB.friends;

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote

Quote:
It is in the right schema. Following is the output from oracle database:

SQL> show user
user is "DEMO_WEB"
SQL> select OBJECT_NAME, OBJECT_TYPE, CREATED, STATUS from user_objects
where object_name like 'f%';

OBJECT_NAME OBJECT_TYPE CREATED STATUS
------------------------------ --------------- --------- -------
friends TABLE 10-FEB-04 VALID

SQL> desc friends
Object does not exist.
SQL> select * from friends;
select * from friends
*
ERROR at line 1:
ORA-00942: table or view does not exist

But I can select data through oracle linked server by using SQL Query
Alalyzer.

select * from OrclDB..DEMO_WEB.friends

Thanks,
Lucy
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23y2pApT8DHA.3360 (AT) tk2msftngp13 (DOT) phx.gbl...
Case sensitive?
Wrong Schema?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:%23Q8PbNN8DHA.2316 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to Oracle
8.1.7. After transfering completed successfully, I loged into oracle
and
tried to select data from the tables. I got 'table does not exist'
error.
But when I select table_name from oracle data dictionary, I saw tables
exist
in oracle. Then I opened SQL Query Analyzer, I can select data from
the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me
suggestion?

Thanks in advance!

Lucy









Reply With Quote
  #5  
Old   
Lucy Lin
 
Posts: n/a

Default Re: DTS between SQL server 2000 and Oracle 8.1.7 - 02-12-2004 , 10:53 AM



SQL> select * from DEMO_WEB.friends;
select * from DEMO_WEB.friends
*
ERROR at line 1:
ORA-00942: table or view does not exist

I tried to drop table, but I can't drop it because Ora-00942 error.

I don't know whether whether I can drop it through oracle linked server. I
tried following and it didn't work.

drop table OrclDB..DEMO_WEB.friends

Thanks,

Lucy
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
It does look strange

what about on Oracle

select * from DEMO_WEB.friends;

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:uoM7U7X8DHA.1112 (AT) tk2msftngp13 (DOT) phx.gbl...
It is in the right schema. Following is the output from oracle
database:

SQL> show user
user is "DEMO_WEB"
SQL> select OBJECT_NAME, OBJECT_TYPE, CREATED, STATUS from user_objects
where object_name like 'f%';

OBJECT_NAME OBJECT_TYPE CREATED STATUS
------------------------------ --------------- --------- -------
friends TABLE 10-FEB-04 VALID

SQL> desc friends
Object does not exist.
SQL> select * from friends;
select * from friends
*
ERROR at line 1:
ORA-00942: table or view does not exist

But I can select data through oracle linked server by using SQL Query
Alalyzer.

select * from OrclDB..DEMO_WEB.friends

Thanks,
Lucy
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23y2pApT8DHA.3360 (AT) tk2msftngp13 (DOT) phx.gbl...
Case sensitive?
Wrong Schema?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:%23Q8PbNN8DHA.2316 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to
Oracle
8.1.7. After transfering completed successfully, I loged into oracle
and
tried to select data from the tables. I got 'table does not exist'
error.
But when I select table_name from oracle data dictionary, I saw
tables
exist
in oracle. Then I opened SQL Query Analyzer, I can select data from
the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me
suggestion?

Thanks in advance!

Lucy











Reply With Quote
  #6  
Old   
Lucy Lin
 
Posts: n/a

Default Re: DTS between SQL server 2000 and Oracle 8.1.7 - 02-12-2004 , 11:58 AM



You are right. It is because of case. I have to put quote in select
statement.

SQL> select * from "friends";

FRIEND_ID FRIEND_NAME
---------- -----------------------------------------------------------------
---------------
1 Jing Gao
2 Jie Wu
3 Brian Pan
4 Peter Xu
1 Jing Gao
2 Jie Wu
3 Brian Pan
4 Peter Xu

8 rows selected.

Thanks,

Lucy

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
It does look strange

what about on Oracle

select * from DEMO_WEB.friends;

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:uoM7U7X8DHA.1112 (AT) tk2msftngp13 (DOT) phx.gbl...
It is in the right schema. Following is the output from oracle
database:

SQL> show user
user is "DEMO_WEB"
SQL> select OBJECT_NAME, OBJECT_TYPE, CREATED, STATUS from user_objects
where object_name like 'f%';

OBJECT_NAME OBJECT_TYPE CREATED STATUS
------------------------------ --------------- --------- -------
friends TABLE 10-FEB-04 VALID

SQL> desc friends
Object does not exist.
SQL> select * from friends;
select * from friends
*
ERROR at line 1:
ORA-00942: table or view does not exist

But I can select data through oracle linked server by using SQL Query
Alalyzer.

select * from OrclDB..DEMO_WEB.friends

Thanks,
Lucy
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23y2pApT8DHA.3360 (AT) tk2msftngp13 (DOT) phx.gbl...
Case sensitive?
Wrong Schema?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Lucy Lin" <llin (AT) advance (DOT) net> wrote in message
news:%23Q8PbNN8DHA.2316 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

I used DTS Export Wizard to copy tables from SQL server 2000 to
Oracle
8.1.7. After transfering completed successfully, I loged into oracle
and
tried to select data from the tables. I got 'table does not exist'
error.
But when I select table_name from oracle data dictionary, I saw
tables
exist
in oracle. Then I opened SQL Query Analyzer, I can select data from
the
tables just transfered through linked oracle server.


I defined oracle schema before I started DTS transfer.
Does anyone have same experience? Could someone please give me
suggestion?

Thanks in advance!

Lucy











Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.