程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> SyBase數據庫 >> SyBase綜合文章 >> bcp文檔,自己看吧

bcp文檔,自己看吧

編輯:SyBase綜合文章

bcp
Description
Copies a database table to or from an Operating system file in a user-specifIEd format. bcp is located in $Sybase/OCS-12_5/bin.
In Windows NT, the utility is bcp.exe, and is located in %Sybase%\OCS-12_5\bin.

bcp
Description
Copies a database table to or from an Operating system file in a user-specifIEd format. bcp is located in $Sybase/OCS-12_5/bin.
In Windows NT, the utility is bcp.exe, and is located in %Sybase%\OCS-12_5\bin.
Syntax
bcp [[database_name.]owner.]table_name [:slice_number] {in | out} datafile
[-m maxerrors]
[-f formatfile]
[-e errfile]
[-F firstrow]
[-L lastrow]
[-b batchsize]
[-n]
[-c]
[-t fIEld_terminator]
[-r row_terminator]
-U username
[-P passWord]
[-I interfaces_file]
[-S server]
[-a display_charset]
[-q datafile_charset]
[-z language]
[-A packet_size]
[-J clIEnt_charset]
[-T text_or_image_size]
[-E]
[-g id_start_value]
[-N]
[-X]
[-M LabelName LabelValue]
[-labeled]
[-K keytab_file]
[-R remote_server_principal]
[-V [security_options]]
[-Z security_mechanism]
[-Q]
Or
bcp -v
Parameters
database_name
is optional if the table being copIEd is in your default database or in master. Otherwise, you must specify a database name.
owner
is optional if you or the Database Owner owns the table being copIEd. If you do not specify an owner, bcp looks first for a table of that name that you own, and then looks for one owned by the Database Owner. If another user owns the table, you must specify the owner name or the command fails.
vIEw_name
is the name of the vIEw you are copying out.
table_name
is the name of the database table to copy. The table name cannot be a Transact-SQL reserved Word.
Partition number partition_number does not exist in table table_name.
slice_number
is the number of the slice of the database table to copy.
partition_id
is the identifIEr of the partition into which to copy.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved