Perl and MS SQL Server Stroed Procedures

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Perl and MS SQL Server Stroed Procedures

    Hi Folks

    Could someone kindly please give me an example of the correct syntax
    for generating a recordset by calling a SQL Server stored procedure
    with an input paramter via Perl / PerlScript ?

    I have searched extensively on the internet and cannot find it
    anywhere.

    I'm confused about whether to use Win32::ODBC, ADO, DBD, DBI etc etc

    It sounds so simple and I cannot believe how difficult it is to find
    information on this.

    Thanks
    John
    Fresh Air Rider Guest

  2. Similar Questions and Discussions

    1. uploading fiels from one unix server to another server usin perl cgi script.
      Hi all, I have a task at hand , that of uplaoding file from server to another server and also pass 6 paramteres along with the file. ...
    2. turning Resultsets Using Sql Server Stored Procedures...
      Stored procedures are faster and more efficient than in-line SQL statements. In this article we will look at two SQL Server stored procedures; one...
    3. Perl and Server Load
      Hi there, Does someone know of any possibilty to limit the load which a Perl Script prouces? e.g. Limit not more than 5 ... Kind Regards....
    4. Stored procedures and UNION (SQL Server 2000)
      SELECT * FROM OPENQUERY (DEVSVR1, 'EXEC MSIS.DBO.XXXX 1,2,6,"20030101","20031231",1') UNION SELECT * FROM OPENQUERY (DEVSVR1,
  3. #2

    Default Re: Perl and MS SQL Server Stroed Procedures

    Fresh Air Rider <Fresh_Air_Rider@hotmail.com> wrote:
    FAR> Hi Folks

    FAR> Could someone kindly please give me an example of the correct syntax
    FAR> for generating a recordset by calling a SQL Server stored procedure
    FAR> with an input paramter via Perl / PerlScript ?

    FAR> I have searched extensively on the internet and cannot find it
    FAR> anywhere.

    FAR> I'm confused about whether to use Win32::ODBC, ADO, DBD, DBI etc etc

    FAR> It sounds so simple and I cannot believe how difficult it is to find
    FAR> information on this.

    Have you looked at the Win32::ODBC and DBI documentation on

    [url]http://www.cpan.org/[/url]

    Regards,

    Nicholas


    --
    "Why shouldn't I top-post?" [url]http://www.aglami.com/tpfaq.html[/url]
    "Meanings are another story." [url]http://www.ifas.org/wa/glossolalia.html[/url]
    Nicholas Dronen Guest

  4. #3

    Default Re: Perl and MS SQL Server Stroed Procedures

    In article <556722cb.0306261217.3cfd9d99@posting.google.com >, Fresh Air
    Rider <Fresh_Air_Rider@Hotmail.com> wrote:
    > Could someone kindly please give me an example of the correct syntax
    > for generating a recordset by calling a SQL Server stored procedure
    > with an input paramter via Perl / PerlScript ?
    >
    > I have searched extensively on the internet and cannot find it
    > anywhere.
    >
    > I'm confused about whether to use Win32::ODBC, ADO, DBD, DBI etc etc
    >
    > It sounds so simple and I cannot believe how difficult it is to find
    > information on this.
    Perhaps the DBI docs at [url]http://dbi.perl.org/[/url] can help. Or, if you want
    to by pass DBI calls, and you have IIS running on the MS SQL server,
    you can post XML or SOAP queried to the MS SQL server directly. Modules
    like XMLL::Parser, XML::Twig or XML::Simple can help with that. I found
    all I need to set up an XML query in the books online that Query
    Analyzer installed. YMMV.

    If you're using Perl's DBI, stored procedures can be called with the
    'do' method.

    There is always a search of the newsgroups at Google.
    [url]http://groups.google.com/[/url]. I found over a hundred articles with a
    cursory search.

    --
    cp
    cp Guest

  5. #4

    Default Re: Perl and MS SQL Server Stroed Procedures

    Thanks CP I'll have a look at that.

    Many thanks
    John
    Fresh Air Rider Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139