Re: Calling a SQL Server Stored Procedure from within Perl
- From: ab <absmienk@xxxxxxxxxxx>
- Date: Thu, 22 Nov 2007 05:34:12 -0800 (PST)
Thanks for those discussions about warnings and errors. It didn't help
me at all. I was merely asking for a Perl script that could execute a
stored procedure. In the meanwhile I have found a solution that works.
use Win32::ODBC;
if (!($MyDB = new Win32::ODBC("DSN=MyDSN;UID=MyLoginID;PWD=MyPwd;")))
{
print "Error: Unable to connect to the database\n";
exit;
}
$MyDB -> Run("exec usp_test'");
PS. What does LOLROTFL, YMMD mean?
.
- Follow-Ups:
- Re: Calling a SQL Server Stored Procedure from within Perl
- From: J. Gleixner
- Re: Calling a SQL Server Stored Procedure from within Perl
- From: Jürgen Exner
- Re: Calling a SQL Server Stored Procedure from within Perl
- From: l v
- Re: Calling a SQL Server Stored Procedure from within Perl
- References:
- Prev by Date: Re: A little help on perl hashes..
- Next by Date: FAQ 3.9 Is there a ctags for Perl?
- Previous by thread: Re: Calling a SQL Server Stored Procedure from within Perl
- Next by thread: Re: Calling a SQL Server Stored Procedure from within Perl
- Index(es):
Relevant Pages
|