1 How To Use The Command: Version Description
1 How To Use The Command: Version Description
Version Description
Command Format
The bcp command is used to export the contents of the data table and save the
exported data as a file, or import the file back to the data table. The format of the bcp
command is as follows:
#cd $SYBASE/OCS-12_0/bin
#./bcp database name..data table name [in|out] file path and name -Usa -Psa
password -c
Parameter in indicates that the file is imported back to the data table, parameter out
indicates that the contents of the data table are exported to a file, and parameter c
indicates that the contents of the data table are exported to a file in the text format. In
Sybase 12.5, the command is cd $SYBASE/OCS-12_5/bin.