I am trying to bulk insert the text file input.txt into a table on sql server. I am using Perl.
Here is the code:
use Sybase::BCP;
my $bcp;
eval {
$bcp = new Sybase::BCP ($user, $passwd,"$ip:$port") || die "error\n";
};
if ($@) {
print "Error $@\n";
}
$bcp->config(INPUT =>...