dbTalk Databases Forums  

Oracle to sql

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


Discuss Oracle to sql in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Vardinghus
 
Posts: n/a

Default Oracle to sql - 12-13-2004 , 06:20 AM






How to create tables in an sql server databased based as a copy of table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if possible.

However - it isn't an obscene amount of tables so I guess I can do it one by
one.....

About 140 of them....





Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Oracle to sql - 12-13-2004 , 06:58 AM






The Wizard will probably do a basic job for you, but it will only do the
base tables at best, not any related constraints or such like. DTS is for
data transfer really not migration including objects, but no doubt there are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote

Quote:
How to create tables in an sql server databased based as a copy of table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if
possible.

However - it isn't an obscene amount of tables so I guess I can do it one
by
one.....

About 140 of them....







Reply With Quote
  #3  
Old   
Paritosh Pathak
 
Posts: n/a

Default Re: Oracle to sql - 12-16-2004 , 03:06 PM



The wizard is good for a starting point. You may need to change data types
of the columns after the wizard is done as some of the field datatype
mappings are not entirely the best options.

"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote

Quote:
The Wizard will probably do a basic job for you, but it will only do the
base tables at best, not any related constraints or such like. DTS is for
data transfer really not migration including objects, but no doubt there
are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ezT1m4Q4EHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
How to create tables in an sql server databased based as a copy of table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if
possible.

However - it isn't an obscene amount of tables so I guess I can do it
one
by
one.....

About 140 of them....









Reply With Quote
  #4  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: Oracle to sql - 12-21-2004 , 03:36 PM



Can I something about dbtimestamp....it seems as if i have bad records on
the oracle server - do i need an oracle procedure to change it to
string and then use this procedure from sql server ?


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> wrote

Quote:
The wizard is good for a starting point. You may need to change data
types
of the columns after the wizard is done as some of the field datatype
mappings are not entirely the best options.

"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in
message
news:OVCOdOR4EHA.2540 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
The Wizard will probably do a basic job for you, but it will only do the
base tables at best, not any related constraints or such like. DTS is
for
data transfer really not migration including objects, but no doubt there
are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ezT1m4Q4EHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
How to create tables in an sql server databased based as a copy of
table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if
possible.

However - it isn't an obscene amount of tables so I guess I can do it
one
by
one.....

About 140 of them....











Reply With Quote
  #5  
Old   
Paritosh Pathak
 
Posts: n/a

Default Re: Oracle to sql - 12-22-2004 , 02:44 PM



Not really, there is a certain format for datetime that Oracle uses and it
causes errors in dts.

I have used logic in the Oracle select statement to substitute the datetime
value with something relevant. For example if the we set the date to
'1/1/1900' if it is lower than the value in Oracle. You could use a case
statement in the Oracle select clause.

This may or may not work for you. I have found there is a disconnect
between datetime values (in DTS) as compared to Oracle.

-Paritosh


"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote

Quote:
Can I something about dbtimestamp....it seems as if i have bad records on
the oracle server - do i need an oracle procedure to change it to
string and then use this procedure from sql server ?


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> wrote in message
news:OOVkQM74EHA.2156 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
The wizard is good for a starting point. You may need to change data
types
of the columns after the wizard is done as some of the field datatype
mappings are not entirely the best options.

"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in
message
news:OVCOdOR4EHA.2540 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
The Wizard will probably do a basic job for you, but it will only do
the
base tables at best, not any related constraints or such like. DTS is
for
data transfer really not migration including objects, but no doubt
there
are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ezT1m4Q4EHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
How to create tables in an sql server databased based as a copy of
table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if
possible.

However - it isn't an obscene amount of tables so I guess I can do
it
one
by
one.....

About 140 of them....













Reply With Quote
  #6  
Old   
Kim Vardinghus-Nielsen
 
Posts: n/a

Default Re: Oracle to sql - 12-23-2004 , 12:03 PM



But i'm having trouble selecting on the table from microsoft....in query
analyzer with linked server I tried to change the format
to string but it wouldn't let me...


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> skrev i en meddelelse
news:uQAZHcG6EHA.260 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
Not really, there is a certain format for datetime that Oracle uses and it
causes errors in dts.

I have used logic in the Oracle select statement to substitute the
datetime
value with something relevant. For example if the we set the date to
'1/1/1900' if it is lower than the value in Oracle. You could use a case
statement in the Oracle select clause.

This may or may not work for you. I have found there is a disconnect
between datetime values (in DTS) as compared to Oracle.

-Paritosh


"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ONGlpU65EHA.3648 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Can I something about dbtimestamp....it seems as if i have bad records on
the oracle server - do i need an oracle procedure to change it to
string and then use this procedure from sql server ?


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> wrote in message
news:OOVkQM74EHA.2156 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
The wizard is good for a starting point. You may need to change data
types
of the columns after the wizard is done as some of the field datatype
mappings are not entirely the best options.

"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in
message
news:OVCOdOR4EHA.2540 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
The Wizard will probably do a basic job for you, but it will only do
the
base tables at best, not any related constraints or such like. DTS is
for
data transfer really not migration including objects, but no doubt
there
are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ezT1m4Q4EHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
How to create tables in an sql server databased based as a copy of
table
structure from oracle..?

Could do i table by table but would prefer some kind of looping if
possible.

However - it isn't an obscene amount of tables so I guess I can do
it
one
by
one.....

About 140 of them....















Reply With Quote
  #7  
Old   
Paritosh Pathak
 
Posts: n/a

Default Re: Oracle to sql - 12-27-2004 , 02:51 PM



Can you post the sql you're having trouble with and the base structure of
the table it is running against?

"Kim Vardinghus-Nielsen" <johndoe (AT) test (DOT) com> wrote

Quote:
But i'm having trouble selecting on the table from microsoft....in query
analyzer with linked server I tried to change the format
to string but it wouldn't let me...


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> skrev i en meddelelse
news:uQAZHcG6EHA.260 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Not really, there is a certain format for datetime that Oracle uses and
it
causes errors in dts.

I have used logic in the Oracle select statement to substitute the
datetime
value with something relevant. For example if the we set the date to
'1/1/1900' if it is lower than the value in Oracle. You could use a case
statement in the Oracle select clause.

This may or may not work for you. I have found there is a disconnect
between datetime values (in DTS) as compared to Oracle.

-Paritosh


"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:ONGlpU65EHA.3648 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Can I something about dbtimestamp....it seems as if i have bad records
on
the oracle server - do i need an oracle procedure to change it to
string and then use this procedure from sql server ?


"Paritosh Pathak" <ppathak (AT) litton (DOT) c-bass.com> wrote in message
news:OOVkQM74EHA.2156 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
The wizard is good for a starting point. You may need to change data
types
of the columns after the wizard is done as some of the field datatype
mappings are not entirely the best options.

"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in
message
news:OVCOdOR4EHA.2540 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
The Wizard will probably do a basic job for you, but it will only
do
the
base tables at best, not any related constraints or such like. DTS
is
for
data transfer really not migration including objects, but no doubt
there
are
tools out there for this, it depends what you want it for.


--
Darren Green
http://www.sqldts.com

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in
message
news:ezT1m4Q4EHA.3708 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
How to create tables in an sql server databased based as a copy
of
table
structure from oracle..?

Could do i table by table but would prefer some kind of looping
if
possible.

However - it isn't an obscene amount of tables so I guess I can
do
it
one
by
one.....

About 140 of them....

















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.