Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Import from Oracle into SQL*Server Slightly off Topic...

RE: Import from Oracle into SQL*Server Slightly off Topic...

From: Mark Leith <mark_at_cool-tools.co.uk>
Date: Thu, 18 Jan 2001 13:04:19 -0000
Message-Id: <10745.126978@fatcity.com>


Are you using the MSDTC tool? If so what problems are you specifically having? I have just managed to create a test over here and ran without problems.. It creates the table with a DECIMAL datatype...

Oracle 8.1.6 --> SQLServer 7.0 Win2K

Mark

-----Original Message-----

From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of nlzanen1_at_ey.nl
Sent: Thursday, January 18, 2001 12:35
To: Multiple recipients of list ORACLE-L Subject: RE: Import from Oracle into SQL*Server Slightly off Topic...

Hi All,

Unloading to a flat file etc.. is an option that I don't mind using but the SQL*Server people here do not know much about importing stuff into SQL*Server and untill I have kids to repair databases for I do not really feel the urgency to waste my time on learning either. SQL*Server comes with a tool that that can do the import directly from Oracle through ODBC (Looks simple enough). It seems to not like the "NUMBER" datatype with precisions e.g. NUMBER(10) or NUMBER(8,2).

If I delete the precision it seems to be a lot happier. it's just that you'll have to manually define the precision in the SQL*Server "database" on import.

Anybody seen this and knows a way around it.

Jack

                    "Mark Leith"
                    <mark_at_cool-too       To:     Multiple recipients of list
ORACLE-L <ORACLE-L_at_fatcity.com>
                    ls.co.uk>            cc:
                    Sent by:             Subject:     RE: Import from Oracle
into SQL*Server Slightly off
                    root_at_fatcity.c        Topic...
                    om


                    18-01-2001
                    12:45
                    Please respond
                    to ORACLE-L





Jack,

Have you tried exporting the data to an ASCII, and then importing it into SQLServer with BCP? You have to create the table in SQLServer first of all, so this will give you a chance to try and set the data types correctly.

BCP is extremely quick, but I think that it doesn't log the inserts. Also depending on the index structures, and size of the import file, you may also
neeed to rebild your indexes again.

HTH Mark

Mark Leith
Cool Tools UK Ltd

T: 01905 330 281
M: 07771 691 122
E: mark_at_cool-tools.co.uk

"Everbody has to believe in something, I believe I'll have another beer!"

---snip---

Hi All,

We have a bunch of people here (Sponsored by toys'r us no doubt) that are trying to get data from Oracle into SQL*Server. I know this is off topic for this list but hey no harm in trying.

The import utility that comes with SQL*Server (uses ODBC) has problems importing quite a few tables.
I have the feeling that it has something to do with the number field with precision.
Anybody here with experience with this matter???

Jack
---snip---

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mark Leith
  INET: mark_at_cool-tools.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

De informatie verzonden in dit e-mailbericht is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is, behoudens voorafgaande schriftelijke toestemming van Ernst & Young, niet toegestaan. Ernst & Young staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mailbericht, noch voor tijdige ontvangst daarvan. Ernst & Young kan niet garanderen dat een verzonden e-mailbericht vrij is van virussen, noch dat e-mailberichten worden overgebracht zonder inbreuk of tussenkomst van onbevoegde derden.

Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender en het origineel en eventuele kopieën te verwijderen en te vernietigen.

Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De algemene voorwaarden worden u op verzoek kosteloos toegezonden.



The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed. You should not copy, disclose or distribute this communication without the authority of Ernst & Young. Ernst & Young is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Ernst & Young does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.

In carrying out its engagements, Ernst & Young applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.


--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: nlzanen1_at_ey.nl

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L Received on Thu Jan 18 2001 - 07:04:19 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US