|
|
Question : bcp out table to text file
|
|
Hi, How do I export table in sybase database to text file. I am using: bcp Database1..RevBackupNew out tbl1.dat -S DEVLOP_T -U eee -P bbb
the problem is that one row in database I got it in more than one row in the export file
Thnx
|
Answer : bcp out table to text file
|
|
What you are seeing is BCP output in the "native" format which writes fields in a binary format.
Add "-c" to your BCP command line to get "character" mode. The default is "-n" for "native" mode which is what you are seeing.
Regards, Bill
|
|
|
|