| DATACOPY(FreeTDS) | FreeTDS (freetds reference manual) | DATACOPY(FreeTDS) |
datacopy — move
table data between two servers
datacopy |
[-vdE] {-t |
-a | -c
owner} [-b
batchsize] [-p
packetsize] [-S
server/username/password/database/table_or_view]
[-D
server/username/password/database/table]
[-T textsize] |
datacopy is a utility distributed with
FreeTDS. datacopy will move table data from one
server to another without the need for intermediate files.
datacopy is much faster and more efficient than is
freebcp out/in.
datacopy makes use of the db-lib bcp API
built into FreeTDS. This API is also available to application
developers.
datacopy can be used to migrate data
between Sybase ASE and SQL Server or vice versa.
-t-a-c
ownerdatacopy will submit a
‘CREATE TABLE’ command on the target
server using the specified owner in the command, e.g.
‘CREATE TABLE owner.table
(...).’-b
batchsize-p
packetsize-T
textsize-v-d-S
server/username/password/database/table_or_viewdatacopy prompts the user for the
information.-D
server/username/password/database/tabledatacopy prompts the user for the
information.-Efreebcp(1), defncopy(1), bsqldb(1), tsql(1), FreeTDS User Guide.
datacopy first appeared in FreeTDS
0.64.
The datacopy utility was written by
Bill Thompson
⟨thompbil@exchange.uk.ml.com⟩.
| March 25, 2015 | FreeTDS 1.3.17 |