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)