Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: DBD::Sybase stored procedure question

by martymart (Deacon)
on Sep 10, 2004 at 15:00 UTC ( [id://390104]=note: print w/replies, xml ) Need Help??


in reply to Re: DBD::Sybase stored procedure question
in thread DBD::Sybase stored procedure question

Hi Michael and ccn,
Thanks to you both for your prompt responses. Michael, just so you know, I tried your solution, and while my script didn't die or anything, nothing got added to the database unfortunately. I had previously tried a solution very similar to this, but also without success.
ccn's code did work for me however, so I was wondering if the binding is necessary??
Thanks,
Martymart
  • Comment on Re^2: DBD::Sybase stored procedure question

Replies are listed 'Best First'.
Re^3: DBD::Sybase stored procedure question
by mpeppler (Vicar) on Sep 10, 2004 at 15:08 UTC
    No the binding isn't absolutely necessary. You can always use a "normal" SQL statement and pass all the values as literals.

    However, I wonder why nothing got added - maybe you should run a test with DBI->trace(3) and check that things actually run. There might be something that fails but that doesn't produce an error message for some reason.

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://390104]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (None)
    As of 2024-10-15 19:39 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.