Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: How to get text file from a bcp out.
Date: Jun 29 1999 8:44PM
Tezgiden, Tekin writes:
> I try to run following code to bcp out some data. However
> the data in the file like a binary. &
> My first question is how can I bcpout the data in text
> format and "|" delimited? &
> My second question is, the output of following code contains
> error. How can I avoid such errors? &
I would use Sybase's bcp command, like this:
bcp myTable out myfile -U username -P password -c -t'|'
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com