Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Placeholders(?) in the prepare statements for executing DBD::Sybase queries

by santhi (Monk)
on Jun 29, 2006 at 07:08 UTC ( [id://558235]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    DBI->trace(15);
    $sth= $dbh->prepare("update sample set name =? where sno = '123a'");
    $sth->execute('example');
    
  2. or download this
    prepare     DISPATCH (DBI::db=HASH(0x2f7c24) rc1/1 @2 g0 ima2201 pid#1
    +8749) at testsql.pl line 111
    -> prepare for DBD::Sybase::db (DBI::db=HASH(0x2f7c24)~0x1e3e64 'UPDAT
    +E sample set name = ? where sno ='123a'')
    ...
        dyn_prepare: ct_dynamic(CS_DESCRIBE_INPUT) for DBD1
        dyn_prepare: ct_results(CS_DESCRIBE_INPUT) for DBD1 - restype 4051
    Segmentation Fault (core dumped)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found