http://www.perlmonks.org?node_id=1054087


in reply to Cool usage for BCP/SQLServer

As the author of Win32::SqlServer, I like to point out that the sample is completely confused. $sqlsrv->sql() is for running SQL commands. BCP is a command-line command, which you should run through system(). And you don't need to have Win32::SqlServer if that is all you want to do.