I run the following command in dos and it works fine
C:\mssql7\binn\textcopy.exe /Slocalhost /Uusername /Ppassword
/Ddatabase /Ttable /Ccolumn /W"Where ID='198300' "
/F"C:\Temp\asdfasdf" /I
it works fine in dos then I added it to my c++ applike this
String command="C:\mssql7\binn\textcopy.exe /Slocalhost /Uusername
/Ppassword /Ddatabase /Ttable /Ccolumn /W"Where ID='198300' "
/F"C:\Temp\asdfasdf" /I";
CreateProcess( NULL, command, NULL,NULL,FALSE,0, NULL,NULL,&si,&pi )
The command executes and the sql profiler shows it runs, but No data
is stored when using the C++ version.
Permissions are fine on the dirs allowing all to read just not storing
the data.
the only difference I have found from a sql profiler is that the dos
command line returns this additional line
-- writetext bulk table.column 0xf6ff14c602000000e531000001004a00
timestamp = 0xf6ff14c602000000 with log
Anyone know what could be up? I really thought I had this working, I
can get the data to come out not problem in C++ , but not in?