Home » RDBMS Server » Server Utilities » Data from Oracle to SQL Server
Data from Oracle to SQL Server [message #69452] Tue, 08 January 2002 23:13 Go to next message
Stijn Vansteenkiste
Messages: 1
Registered: January 2002
Junior Member
Does anyone know how I can import data from an Oracle database to a SQL Server database?

Can I export the data to an ASCII file?

Yours
Re: Data from Oracle to SQL Server [message #69455 is a reply to message #69452] Wed, 09 January 2002 06:32 Go to previous messageGo to next message
Suresh Vemulapalli
Messages: 624
Registered: August 2000
Senior Member
http://www.orafaq.net/msgboard/serverutil/messages/3491.htm
Re: Data from Oracle to SQL Server [message #69477 is a reply to message #69452] Tue, 15 January 2002 08:29 Go to previous messageGo to next message
unique kumar
Messages: 4
Registered: January 2002
Junior Member
do nothing when u doing exp
simply write
exp ascii=y
Re: Data from Oracle to SQL Server [message #70244 is a reply to message #69452] Fri, 10 May 2002 10:47 Go to previous message
Nanakos Chrysostomos
Messages: 1
Registered: May 2002
Junior Member
suppose you want to create a comma-delimited file for the
following table:
Table BATTER:
name varchar2(30),
hr varchar2(3),
rbi varchar2(3),
batting_avg varchar2(5)
To make the file, write the following script:
-----------------------------------------------------------
set pagesize 0
set pause off
set header off
spool ASCII_FILE
select name||','||hr||','||rbi||','||batting_avg
from BATTER;
spool off
------------------------------------------------------------
Note that the commas will serve as the delimiters, and can be
easily changed to whatever you need. Also, Oracle adds ".lst" to the name
of the spool file unless you specify another extension.
Good luck!
Previous Topic: Re: ocp 9i sts material
Next Topic: Re: Sqlloader control file
Goto Forum:
  


Current Time: Fri Apr 26 09:30:52 CDT 2024