Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get a Sybase table contents into an ascii file?

Status
Not open for further replies.

stevecal

Technical User
May 10, 2000
78
DK
I have a syb 11 db to look at tomorrow. I'd like to export a couple of the tables' contents to ascii for a trial upload to an Oracle db. What's the best way to do it? Help appreciated.

 
Hiya Steve,

Why don't you try BCP'ing the data out. The format that you need is

BCP database.owner.table OUT host-file-name -c -Sserver_name -Uuser_name -t'field_delimiter'

Should produce you a nice ASCII file that Oracle can work with.

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top