in reply to using dbi to run sql file
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using dbi to run sql file
by aksaravanan (Initiate) on Feb 03, 2010 at 18:32 UTC | |
by mje (Curate) on Feb 03, 2010 at 22:53 UTC |