I have not used sqlcmd but if it is this then you might be able to replicate some of it using DBI and DBD::ODBC. You'll need to prepare and execute your procedures using ODBC syntax "{call proc(?,?,?}" where ? are the parameters and if they use print statements you'll need to use an error handler and odbc_more_results. There are examples in t/20SQLServer.t that comes with DBD::ODBC.
Without further information that is the best I can do to help at this stage as your question is a little vague.
In reply to Re: using dbi to run sql file
by mje
in thread using dbi to run sql file
by aksaravanan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |