Help for this page

Select Code to Download


  1. or download this
    update tablename set foo = 'bar', 
    date = to_date( '03/03/2004', 'MM/DD/YYYY' )
    where id = '1'
    
  2. or download this
            # Do the DB insert
            $dn_entry->set( %dn_out  );
            $dn_entry->update;
            $dn_entry->dbi_commit();
    
  3. or download this
    DB error: Can't update 50025: DBD::Oracle::
    st execute failed: ORA-01858: a non-numeric character was found where 
    +a numeric 
    was expected (DBD ERROR: OCIStmtExecute) [for statement ``UPDATE Domai
    +nNames SET  domainname = ?, expire_date = ?, dn_id = ? WHERE  dn_id=?
    + '']) at ../Modules/site_perl/5.005/Ima/DBI.pm line 720.