To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Related Sites > SQL Course

SQL Course SQL Course > Ask questions about the lessons on SQL Course 1 and 2. If you have problems > with the interface, please post in the Feedback forum

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-20-2003, 12:44 PM
ye_aung ye_aung is offline
Junior Member
 
Join Date: Feb 2003
Posts: 3
Question Perl Module to execute stored procedure call in MS-SQL Server

Hello,

I am trying to write Perl wrapper to run stored procedure in MS SQL
Server. I am looking at the following two Perl modules:

(1) Win32::ODBC
(2) MSSQL::SQLLIB

Here are my requirements:

(1) I need to capture result data set from stored procedures
(2) I need to capture return codes from stored procedures

Unless I am doing wrong, I am unable to capture both result set and
return code from MS SQL Server using those two Perl modules. Can you
point out to me as to what other Perl modules are available to fulfill
my requirements or what I am doing incorrectly.

Here are a few things I learned about those two Perl modules:

(1) Win32::ODBC
It is good at capturing result data set from running SQL statements
such as SELECT, INSERT, UPDATE, and DELETE but not result data set
from stored procedures calls. It does not work for me.

(2) MSSQL::SQLLIB
It has 'sql_sp' function which requires special way of passing
parameters and my stored procedure calls are dynamic with unknown
number of parameters until run-time. It does not work for me.

Thank you,

Ye H. Aung
Database Administrator
Nicholas Applegate Capital Management
San Diego, California
Tel: (619) 652-5417
ye_aung@nacm.com
Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:08 AM.


DatabaseJournal Recent Articles


 » Preparing To Upgrade Access Tables to SQL ...

 » Microsoft Windows PowerShell and SQL Serve...

 » New MySQL Enterprise with Query Analyzer B...

 » Quest Software Strengthens Committment to ...

 » Oracle Unveils New Event-Driven Middleware...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.