Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: SQL/Perl/ODBC/Weirdness

    I decided to just call the offending sp with osql (which works in all respects). Thanks!

  • RE: SQL/Perl/ODBC/Weirdness

    Stupidity.  🙂

  • RE: SQL/Perl/ODBC/Weirdness

    Curious. No error code, *and it got a userid*, but the tables have *not* been written to.

    Perhaps the last select needs to be put after the transaction commits, so...

  • RE: SQL/Perl/ODBC/Weirdness

    The perl generates the parameters for the SP (which I can see because $db->Run($sql) dumps it to STDOUT) and when those parameters are fed to the script in QA, it...

  • RE: SQL/Perl/ODBC/Weirdness

    Thanks, I'll try it. It leaves a question hanging, though: the tables are only updated when the SP is run in Query Analyzer, or when the perl is stepped...

  • RE: SQL/Perl/ODBC/Weirdness

    Yes, and also inserts properly.

  • RE: SQL/Perl/ODBC/Weirdness

    Sure. Here goes:

    THe perl:

    my $sql = "EXEC dbo.addApplication "; # Don't take the space out. It matters.

    foreach $key (sort keys %$ref ) {

    # print...

  • RE: SQL/Perl/ODBC/Weirdness

    It fetches and there's nothing in the row.

  • RE: SQL/Perl/ODBC/Weirdness

    No. The script generates its own saying it didn't get the userid, but that's it.

    New, amplifying data: if I step through the script in the debugger, it succeeds. ...

Viewing 9 posts - 1 through 9 (of 9 total)