I have a problem with bcp for exporting from a table to a file, then
importing this file into another table. Both tables are on separate SQL
Server 2000 databases, installed with SP2, and both tables have an identical
Using bcp from the command line works fine...
bcp DBTEST..ProductMetadata out Product.dat /SP816345NT /n
bcp DBTEST..ProductMetadata in Product.dat /SP816345NT /n
However when running from a C++ application using the following :-
bcp_init(dbproc, databasename, filename, errorlog, DB_OUT);
bcp_init(dbproc, databasename, filename, errorlog, DB_IN);
1 Assigned Priority <Unable to display>
I cannot import the file created in the Export function using bcp from the
command line either.
Any help would be greatly appreciated,