| ||||||||||||||||||||||
| ||||||||||||||||||||||
Search Irongeek.com: ![]() ![]()
Help Irongeek.com pay for bandwidth and research equipment: |
|
-t Truncate target table before loading data. | |
-a Append data to target table. | |
-c owner Create the target table with the same schema as the source table. datacopy will submit a ’create table’ command on the target server/database using the specified owner in the command, e.g. CREATE TABLE owner.table (...). | |
-b batchsize The number of rows per batch of data copied. Each batch of data is effectively ’committed’ to the database. The default is 1000. | |
-p packetsize The number of bytes, per network packet, sent to and from the servers. Increased packet size can enhance performance. | |
-v Produce verbose output, including diagnostic timings. | |
-d Produce freetds TDSDUMP output. (Serious debug only!) | |
-S server/username/password/database/table_or_view The connection information for the source server and the location/name of the table (or view) to be copied. If not specified, datacopy will prompt the user for the information. | |
-D server/username/password/database/table The connection information for the destination server and the location/name of the target table. If not specified, datacopy will prompt the user for the information. | |
freebcp(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).
Top of page | Section February 24, 2006 |
FreeTDS Utilities | FreeTDS (February 24, 2006) | 0.64RC1 |
15 most recent posts on Irongeek.com:
If you would like to republish one of the articles from this site on your
webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast