Displaying 1 result from an estimated 1 matches for "us_15aug2008_50paths".
2008 Nov 06
0
problems executing a bulk load with SQL server
...Risk/Dump/>' +
@FileName;
set @Command = 'BULK INSERT ' + @TableName + ' FROM ' + Char(39) + @FilePath
+ Char(39) + ' WITH (FIRSTROW=2, LASTROW=10)';
exec (@Command);
end;
When I issue the command:
sqlQuery(channel, "exec LoadFile 'US15Aug2008',
'US_15Aug2008_50paths.csv';")
I get the cryptic message:
[1] "[RODBC] ERROR: Could not SQLExecDirect"
Any ideas? Anything would be highly appreciated!
[[alternative HTML version deleted]]